Crates.io | nff |
lib.rs | nff |
version | 0.1.2 |
source | src |
created_at | 2018-10-12 13:27:26.36229 |
updated_at | 2018-10-29 20:12:06.352963 |
description | Command line utility that calculates nullable first follow sets. Can also be used as a library |
homepage | |
repository | https://github.com/rmsthebest/nullable-first-follow |
max_upload_size | |
id | 89456 |
size | 50,243 |
A program that calculates the nullable, first, and follow sets from a specified grammar
git clone https://github.com/rmsthebest/nullable-first-follow
cd nullable-first-follow
cargo run --release <path to grammar file>
cargo install nff
nff <path to grammar file>
nff only supports one format of grammar
Nonterminals are one uppercase character
Terminals are one lowercase character
Null is 0
A -> B a
A -> 0
B -> A b