antlr/tool/playground
Terence Parr 8a34176d82 added listener unit tests. fixed bug that didn't create ctx getters properly for recursive rules. added Symbol extends Token to parse tree stuff. added visitTerminal to Visitor. recursive alts now track their original, unedited AltAST subtree so we can properly count rule refs etc... later. dup of RuleRefAST was making wrong node. don't gen dispatch methods if no listener. 2012-02-22 12:44:33 -08:00
..
A.g4 Fix regression; did not gen enter/exit in alt label structs. 2012-02-18 15:16:42 -08:00
A2.g4 update playground 2012-02-14 16:33:34 -08:00
AA.g bug fixes in error handling part deux 2011-10-06 13:28:36 -08:00
AVisitor.java Fix regression; did not gen enter/exit in alt label structs. 2012-02-18 15:16:42 -08:00
E.g fixed bug in [a-z] 2012-01-30 18:08:22 -08:00
Fuzzy-input new example 2012-01-02 14:07:11 -08:00
Fuzzy.g4 lr rules now gen only 1 rule e->e not e->e_ etc... altered tests to build parse trees. 2012-01-04 17:36:24 -08:00
HTMLParser.g got ambig pred thing working i think; unit tests. missing validating pred thing. 2011-11-28 19:16:45 -08:00
JavaLR.g4 oops. antlr was ok, it was javalr grammar. 2011-12-26 17:14:29 -08:00
JavaLexer.g initial wack at args/return value object 2011-06-22 18:04:29 -08:00
JavaParser.g removed all template / AST rewrite stuff; massive change; added -encoding tool option 2012-01-02 18:13:16 -08:00
JavaParser.orig.g add more 2011-06-14 16:29:02 -08:00
L.g fix bug in modes 2011-10-31 16:27:34 -08:00
LL1.g add more 2011-06-14 16:29:02 -08:00
R.g4 adding tests 2012-02-13 09:16:29 -08:00
R.g4.graffle Major update to v4. I backed out a change I made on Christmas then mistakenly prevented any lexer DFA creation. Per http://www.antlr.org/wiki/display/~admin/2011/12/29/Flaw+in+ANTLR+v3+LL%28*%29+analysis+algorithm I fixed a major flaw in ANTLR's notion of context. To do that, I needed to create a new LoopEndState, with all of its fanout to the serialization and parser ATN construction. got a very good start on ParserATNPathFinder, which uses basic recursion to find all possible paths and return a tree with the possibilities. I left it in the condition where he would sometimes loop forever; it needs to track sets of configurations in the busy set; it using states at the moment. added a new signal from the interpreter: reportAttemptingFullContext. I fixed a bug where configuration sets derived from a configuration that had reachesIntoOuterContext>0 were not being considered as dipping into the outer context. The ambiguity checker needed to switch so that a check for exact matches not suffixes when doing full context. It's faster at the very least for full context. added some more support routines to DFA. Added TraceTree in support of the new ParserATNPathFinder. 2011-12-29 17:04:40 -08:00
Scannerless.g add 2011-08-04 08:56:08 -08:00
T.g added listener unit tests. fixed bug that didn't create ctx getters properly for recursive rules. added Symbol extends Token to parse tree stuff. added visitTerminal to Visitor. recursive alts now track their original, unedited AltAST subtree so we can properly count rule refs etc... later. dup of RuleRefAST was making wrong node. don't gen dispatch methods if no listener. 2012-02-22 12:44:33 -08:00
TestA.java forgot to add dispatch methods in context objects. in-parse listeners should work now. 2012-02-19 11:25:15 -08:00
TestA2.java added -parse-listener option and generated code if option on. parse listener differs from tree listener 2012-02-18 16:49:05 -08:00
TestAA.java change name of method 2011-10-11 16:16:29 -08:00
TestE.java Added visitor gen mechanism, runtime support 2012-02-16 17:49:57 -08:00
TestJava.java alter tests for new parser atn name 2012-02-07 13:18:51 -08:00
TestJavaLR.java alter tests for new parser atn name 2012-02-07 13:18:51 -08:00
TestL.java fix bug in modes 2011-10-31 16:27:34 -08:00
TestR.java removed all template / AST rewrite stuff; massive change; added -encoding tool option 2012-01-02 18:13:16 -08:00
TestT.java added listener unit tests. fixed bug that didn't create ctx getters properly for recursive rules. added Symbol extends Token to parse tree stuff. added visitTerminal to Visitor. recursive alts now track their original, unedited AltAST subtree so we can properly count rule refs etc... later. dup of RuleRefAST was making wrong node. don't gen dispatch methods if no listener. 2012-02-22 12:44:33 -08:00
TestU.java removed method call 2011-12-27 16:31:09 -08:00
TestVisitor.java Fix regression; did not gen enter/exit in alt label structs. 2012-02-18 15:16:42 -08:00
TestW.java change name of method 2011-10-11 16:16:29 -08:00
TestYang.java alter tests for new parser atn name 2012-02-07 13:18:51 -08:00
U.g update grammars 2012-01-11 11:21:05 -08:00
W.g tweak 2011-11-10 12:30:12 -08:00
YangJavaLexer.g add more 2011-06-14 16:29:02 -08:00
YangJavaParser.g add more 2011-06-14 16:29:02 -08:00
testjava.sh set type 2011-07-27 16:45:02 -08:00