]> git.ipfire.org Git - thirdparty/automake.git/commit
Automatic conversion of bison graph to parsing table.
authorVishal Gupta <vishalgupta7972@gmail.com>
Thu, 31 May 2018 19:01:16 +0000 (00:31 +0530)
committerVishal Gupta <vishalgupta7972@gmail.com>
Thu, 31 May 2018 19:01:16 +0000 (00:31 +0530)
commit6115c12f37db3e7a1746dbc21fc3949e31efce7f
tree6e0dcdf840c65d9ba53e26bfc92a2600f09a7b6f
parentcf633fb61fd64b0b49c3d99ea9cb881ebc8cd1ac
Automatic conversion of bison graph to parsing table.

* Converter.pl: Converts graph generated by bison (automake.dot) to table
  used by the parser.
* Makefile: Executes the parser on input.txt file. build target builds the
  grammar and executes Converter.pl
* Lexer.pm: Return "newline" as token instead of "\n".
* automake.y, automake.png: Updated to handle "newline" token.
lib/Automake/Parser/Converter.pl [new file with mode: 0644]
lib/Automake/Parser/Lexer.pm
lib/Automake/Parser/Makefile [new file with mode: 0644]
lib/Automake/Parser/ParserTable.pm
lib/Automake/Parser/automake.png
lib/Automake/Parser/automake.y
lib/Automake/Parser/parser.pl