Skip to content

A command line utility that calculates nullable first follow sets from a specified grammar

License

Notifications You must be signed in to change notification settings

rmsthebest/nullable-first-follow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A command line utility that calculates nullable first follow sets from a specified grammar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages