ebnf2yacc is a tool to help write yacc parsers/compilers. It takes as input a grammar written in bnf (ebnf support is planned) and outputs a c++ abstract syntax tree that supports the visitor pattern, along with a yacc parser that builds the tree.
ebnf2yacc is a tool to help write yacc parsers/compilers. It takes as input a grammar written in bnf (ebnf support is planned) and outputs a c++ abstract syntax tree that supports the visitor pattern, along with a yacc parser that builds the tree.
To install ebnf2yacc, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install ebnf2yacc
To see what files were installed by ebnf2yacc, run:
port contents ebnf2yacc
To later upgrade ebnf2yacc, run:
sudo port selfupdate && sudo port upgrade ebnf2yacc
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.