#parser

app llmaker

Make LL(1) token parser code for Rust

1 unstable release

0.0.1 Mar 21, 2021

#4143 in #parser

MIT license

73KB
2.5K SLoC

crates.io Build Status source badge license badge

llmaker version 0.0.1

llmaker

Make LL(1) token parser code for Rust

See more demo file.

Install using Cargo

Here is a list of minimally required softwares.

  • git
  • make
  • Rust

Example

Install Rust and cargo (Ubuntu)

curl https://sh.rustup.rs -sSf | sh

Install Rust and cargo (Ubuntu on WSL)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Install Rust and cargo (Windows)

Please download installer, and starting installer.

Build and Install

cargo install llmaker

or

git clone https://github.com/puripuri2100/llmaker.git
cd llmaker

make install

Usage of llmaker

Type

llmaker <input file>

or

llmaker <input file> -o <output file>

Starting out

make demo

If demo/demo.rs is created, then the setup has been finished correctly.


This software released under the MIT license.

Copyright (c) 2020-2021 Naoki Kaneko (a.k.a. "puripuri2100")

Dependencies

~1.5MB
~24K SLoC