nff

Crates.ionff
lib.rsnff
version0.1.2
sourcesrc
created_at2018-10-12 13:27:26.36229
updated_at2018-10-29 20:12:06.352963
descriptionCommand line utility that calculates nullable first follow sets. Can also be used as a library
homepage
repositoryhttps://github.com/rmsthebest/nullable-first-follow
max_upload_size
id89456
size50,243
(rmsthebest)

documentation

https://docs.rs/nff

README

nff.rs

A program that calculates the nullable, first, and follow sets from a specified grammar

Installation and Usage

Github

git clone https://github.com/rmsthebest/nullable-first-follow
cd nullable-first-follow
cargo run --release <path to grammar file>

Cargo

cargo install nff
nff <path to grammar file>

Grammar

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
Commit count: 10

cargo fmt