X-Git-Url: http://nitlanguage.org diff --git a/src/parser/README b/src/parser/README index a0dfe93..981578a 100644 --- a/src/parser/README +++ b/src/parser/README @@ -3,11 +3,14 @@ In order to generate nit parser, you need the alternate SableCC3 generator ( htt Contents: + fact_parser.pl: Script used to factorize parser.nit Makefile: Update grammar and generate .nit files - nit.sablecc3xx: Extended sablecc3 grammar (see Makefile) - parser_nodes.nit: token and nodes classes hierarchy used by the parser ans lexer - test_parser.nit - xss/*.xss: Template files for the NIT language + nit.sablecc3xx: Extended sablecc3 grammar (see prescc.pl) + prescc.pl: Program to transform an extended sablecc3 to a standard one + parser_nodes.nit: token and nodes classes hierarchy used by the parser and the lexer + tables.nit, tables_nit.h: Interfaces to access the tables needed by the parser and the lexer + test_parser.nit: + xss/*.xss: alternate SableCC3 template files for the Nit language The following are generated but present to avoid the need of sablecc3: @@ -15,14 +18,13 @@ The following are generated but present to avoid the need of sablecc3: lexer.nit: generated lexer parser.nit: generated parser parser_prod.nit: All production with generated visit methods - parser_tables.nit: Tables needed py the parser + tables_nit.c: The tables needed by the parser and the lexer parser_abs.nit: Raw generated token and nodes classes used to maintain coherence of parser_nodes.nit Other temp files produced by the Makefile: - nit.sablecc3: Sablecc3 grammar after processing (readolny to avoid modifying it) - nit.sablecc3.dump: Dump of the grammar to improve sablecc3 multiple runs - parser_abs.patch: Change between old and new parser_abs.nit to keep parser_nodes.nit in sync - + .nit.sablecc3: Sablecc3 grammar after processing + .nit.sablecc3.dump: Dump of the grammar to improve sablecc3 multiple runs + .parser-nofact.nit: The parser generated by SableCC3 before factorization by fact_parser.pl