- the
docs/
folder contains examples that we used during development. - the
examples/
folder cotains the required 100 lines examples in x++ language - the
relatorio/
folder contains the required report - the
src/
folder contains the code and grammar underpinning this work
make install
make build
make run ARGS="<SUBCOMMAND>"
make run ARGS="lex examples/T1/T1E1.lcc -s"
make run ARGS="syntax ./examples/T2/T2E3.ccc"
make run ARGS="semantic ./examples/T2/T3E4.ccc"
-h, --help Prints help information
-V, --version Prints version information
help Prints this message or the help of the given subcommand(s)
lex Do a lexical analysis using the CC20211 lang
syntax Do a syntax analysis using the CC20211 lang
semantic Do a semantic analysis using the CC20211 lang
-h, --help Prints help information
-s, --symbols Display the symbols table
-t, --tokens Display the tokens list
-V, --version Prints version information
-i, --info <show-info> Prints parsing information [default: true]
-h, --help Prints help information
-V, --version Prints version information
-i, --info <show-info> Prints parsing information [default: true]
-h, --help Prints help information
-V, --version Prints version information
-i, --info <show-info> Prints parsing information [default: true]