]> git.ipfire.org Git - thirdparty/automake.git/commit
Implemented Lexer, Parser and AST module.
authorvishalgupta97 <vishalgupta7972@gmail.com>
Fri, 25 May 2018 18:38:56 +0000 (00:08 +0530)
committervishalgupta97 <vishalgupta7972@gmail.com>
Fri, 25 May 2018 18:38:56 +0000 (00:08 +0530)
commitcf633fb61fd64b0b49c3d99ea9cb881ebc8cd1ac
tree53b383792d593b41ddbfa9395e89c6f54c97190b
parent596e9e130f38ae068ac6150b2d62eafd544900f6
Implemented Lexer, Parser and AST module.

The grammar seperates the automake rule into left side and right side. It
divides the left side according to the primaries like PROGRAMS, LIBRARIES.

* Lexer.pm: Lexer module. Converts a string into tokens.
* ParserTable.pm: Contains the parsing table.
* automake.y: Contains the grammar.
* automake.png: Contains the state transition diagram generated by the
  grammar.
* Tree.pm: Contains submodules for creating tree nodes.
* parser.pl: Implements the parser.
lib/Automake/Parser/.gitignore [new file with mode: 0644]
lib/Automake/Parser/Lexer.pm [new file with mode: 0644]
lib/Automake/Parser/ParserTable.pm [new file with mode: 0644]
lib/Automake/Parser/Tree.pm [new file with mode: 0644]
lib/Automake/Parser/ast.png [new file with mode: 0644]
lib/Automake/Parser/automake.png [new file with mode: 0644]
lib/Automake/Parser/automake.y [new file with mode: 0644]
lib/Automake/Parser/input.txt [new file with mode: 0644]
lib/Automake/Parser/parser.pl [new file with mode: 0644]