nitcc: introduce nitcc
authorJean Privat <jean@pryen.org>
Wed, 16 Oct 2013 04:44:59 +0000 (00:44 -0400)
committerJean Privat <jean@pryen.org>
Wed, 16 Oct 2013 04:56:54 +0000 (00:56 -0400)
commit1107a5cf2a684033a212663311f8a383da91f2e8
tree9451a5361851d6a517c5aa9315323ea09e551aff
parentfe1dee68c29c9eeafa7d0b3684cb38c44ed8d673
nitcc: introduce nitcc

Signed-off-by: Jean Privat <jean@pryen.org>
234 files changed:
contrib/nitcc/.gitignore [new file with mode: 0644]
contrib/nitcc/autom.nit [new file with mode: 0644]
contrib/nitcc/examples/calc.nit [new file with mode: 0644]
contrib/nitcc/examples/calc.sablecc [new file with mode: 0644]
contrib/nitcc/examples/json.sablecc [new file with mode: 0644]
contrib/nitcc/examples/minilang.minilang [new file with mode: 0644]
contrib/nitcc/examples/minilang.nit [new file with mode: 0644]
contrib/nitcc/examples/minilang.sablecc [new file with mode: 0644]
contrib/nitcc/examples/mkml.sh [new file with mode: 0755]
contrib/nitcc/grammar.nit [new file with mode: 0644]
contrib/nitcc/mk [new file with mode: 0755]
contrib/nitcc/nitcc.nit [new file with mode: 0644]
contrib/nitcc/nitcc.sablecc [new file with mode: 0644]
contrib/nitcc/nitcc_lexer0.nit [new file with mode: 0644]
contrib/nitcc/nitcc_parser_gen.nit [new file with mode: 0644]
contrib/nitcc/nitcc_runtime.nit [new file with mode: 0644]
contrib/nitcc/nitcc_semantic.nit [new file with mode: 0644]
contrib/nitcc/re2nfa.nit [new file with mode: 0644]
contrib/nitcc/t/alterner.pl [new file with mode: 0755]
contrib/nitcc/t/empty.input [new file with mode: 0644]
contrib/nitcc/t/empty.input2 [new file with mode: 0644]
contrib/nitcc/t/empty.sablecc [new file with mode: 0644]
contrib/nitcc/t/if.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-automate.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-automate.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-demo.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-demo.input2 [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-demo.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-pire_cout.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-pire_cout.input2 [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-pire_cout.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-priorite_d_inclusion.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-priorite_d_inclusion.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-priorite_declaree.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-04-lexer-priorite_declaree.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-arithmetique.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-arithmetique.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-arithmetique2.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-arithmetique2.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-formes.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-formes.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-lisp.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-lisp.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-listes.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-listes.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-parentheses.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-05-grammaire-parentheses.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-calculatrice.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-calculatrice.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-grammaire.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-grammaire.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-grammaire2.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-grammaire2.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-instructions.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-instructions.sablecc [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-polygone.input [new file with mode: 0644]
contrib/nitcc/t/inf5000-06-grammaire2-polygone.sablecc [new file with mode: 0644]
contrib/nitcc/t/lalr.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-c-comment.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-errors.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-implicit-longest-and-priority.input [new file with mode: 0644]
contrib/nitcc/t/lexer-implicit-longest-and-priority.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-implicit-longest.input [new file with mode: 0644]
contrib/nitcc/t/lexer-implicit-longest.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-markers.input [new file with mode: 0644]
contrib/nitcc/t/lexer-markers.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-precedences.input [new file with mode: 0644]
contrib/nitcc/t/lexer-precedences.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-shortest-longest.input [new file with mode: 0644]
contrib/nitcc/t/lexer-shortest-longest.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer-shortest-longest2.input [new file with mode: 0644]
contrib/nitcc/t/lexer-shortest-longest2.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer_conflict_token.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer_empty_token.sablecc [new file with mode: 0644]
contrib/nitcc/t/lexer_features.input [new file with mode: 0644]
contrib/nitcc/t/lexer_features.input2 [new file with mode: 0644]
contrib/nitcc/t/lr1.sablecc [new file with mode: 0644]
contrib/nitcc/t/modif.input1 [new file with mode: 0644]
contrib/nitcc/t/modif.input2 [new file with mode: 0644]
contrib/nitcc/t/modif.input3 [new file with mode: 0644]
contrib/nitcc/t/modif.input4 [new file with mode: 0644]
contrib/nitcc/t/modif.sablecc [new file with mode: 0644]
contrib/nitcc/t/nit_expr.sablecc [new file with mode: 0644]
contrib/nitcc/t/not_lalr.sablecc [new file with mode: 0644]
contrib/nitcc/t/not_slr.sablecc [new file with mode: 0644]
contrib/nitcc/t/pri.sablecc [new file with mode: 0644]
contrib/nitcc/t/priority.sablecc [new file with mode: 0644]
contrib/nitcc/t/qualified.sablecc [new file with mode: 0644]
contrib/nitcc/t/run [new file with mode: 0755]
contrib/nitcc/t/sav/calc.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt3.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt3.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt4.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt5.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt5.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt5.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt6.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt6.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.alt6.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/empty.res [new file with mode: 0644]
contrib/nitcc/t/sav/expression.res [new file with mode: 0644]
contrib/nitcc/t/sav/if.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-automate.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-automate.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-demo.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-demo.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-demo.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-pire_cout.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-pire_cout.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-pire_cout.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-priorite_d_inclusion.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-priorite_d_inclusion.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-priorite_declaree.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-04-lexer-priorite_declaree.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-arithmetique.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-arithmetique.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-arithmetique.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-arithmetique2.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-arithmetique2.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-formes.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-formes.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-lisp.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-lisp.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-listes.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-listes.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-parentheses.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-05-grammaire-parentheses.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-calculatrice.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-calculatrice.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-grammaire.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-grammaire.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-grammaire2.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-grammaire2.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.alt1.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.alt2.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.alt3.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-instructions.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-polygone.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/inf5000-06-grammaire2-polygone.res [new file with mode: 0644]
contrib/nitcc/t/sav/json.res [new file with mode: 0644]
contrib/nitcc/t/sav/lalr.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-c-comment.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-c-comment.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-c-comment.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-c-comment.alt4.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-c-comment.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt4.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt5.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt6.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt7.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.alt8.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-errors.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-implicit-longest-and-priority.alt1.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-implicit-longest-and-priority.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-implicit-longest-and-priority.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-implicit-longest.alt1.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-implicit-longest.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-implicit-longest.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-markers.alt1.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-markers.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-markers.alt2.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-markers.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-markers.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-markers.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt1.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt10.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt10.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt2.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt3.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt4.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt4.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt5.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt5.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt6.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt6.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt7.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt7.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt8.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt9.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.alt9.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-precedences.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.alt1.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.alt1.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.alt2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.alt3.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.alt3.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.alt4.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer-shortest-longest2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer_conflict_token.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer_empty_token.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer_features.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer_features.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/lexer_features.res [new file with mode: 0644]
contrib/nitcc/t/sav/lr1.res [new file with mode: 0644]
contrib/nitcc/t/sav/minilang.res [new file with mode: 0644]
contrib/nitcc/t/sav/mixed_list.res [new file with mode: 0644]
contrib/nitcc/t/sav/modif.input1.res [new file with mode: 0644]
contrib/nitcc/t/sav/modif.input2.res [new file with mode: 0644]
contrib/nitcc/t/sav/modif.input3.res [new file with mode: 0644]
contrib/nitcc/t/sav/modif.input4.res [new file with mode: 0644]
contrib/nitcc/t/sav/modif.res [new file with mode: 0644]
contrib/nitcc/t/sav/nit_expr.res [new file with mode: 0644]
contrib/nitcc/t/sav/not_lalr.res [new file with mode: 0644]
contrib/nitcc/t/sav/not_slr.res [new file with mode: 0644]
contrib/nitcc/t/sav/pri.res [new file with mode: 0644]
contrib/nitcc/t/sav/priority.res [new file with mode: 0644]
contrib/nitcc/t/sav/qualified.res [new file with mode: 0644]
contrib/nitcc/t/sav/trans.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/trans.res [new file with mode: 0644]
contrib/nitcc/t/sav/trans_inline.input.res [new file with mode: 0644]
contrib/nitcc/t/sav/trans_inline.res [new file with mode: 0644]
contrib/nitcc/t/t [new file with mode: 0755]
contrib/nitcc/t/trans.sablecc [new file with mode: 0644]
contrib/nitcc/t/trans_inline.sablecc [new file with mode: 0644]