parrt
|
3bbcfa5d25
|
change name of method
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9144]
|
2011-10-11 16:16:29 -08:00 |
parrt
|
632ccffd93
|
added comments
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9143]
|
2011-10-11 12:18:42 -08:00 |
parrt
|
fd9027b4a0
|
new nodes, added visitor
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9136]
|
2011-10-10 14:01:27 -08:00 |
parrt
|
9784ce3d22
|
move ast nodes to new package
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9135]
|
2011-10-10 13:29:01 -08:00 |
parrt
|
547d58514d
|
bug fixes in error handling part deux
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9112]
|
2011-10-06 13:28:36 -08:00 |
parrt
|
251a42ddbb
|
bug fixes in error handling
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9111]
|
2011-10-06 10:40:07 -08:00 |
parrt
|
1efa316de9
|
added ctx stack test
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9110]
|
2011-10-05 15:15:58 -08:00 |
parrt
|
c99ce6d26e
|
tweak tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9109]
|
2011-10-04 13:28:07 -08:00 |
parrt
|
6179d7586b
|
tweak tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9108]
|
2011-10-04 13:26:18 -08:00 |
parrt
|
e293cbbdf5
|
UnsupportedOperationException
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9107]
|
2011-10-04 11:50:57 -08:00 |
parrt
|
d56e8c3a18
|
reorg error and add parse tree tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9106]
|
2011-10-04 10:19:04 -08:00 |
parrt
|
5f9e2f6e05
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9105]
|
2011-10-03 17:33:07 -08:00 |
parrt
|
2707837bc8
|
factored out node construction for parse trees into a consume() method. added a start to the test parse trees. added the notion of an error node to the parse tree.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9104]
|
2011-10-03 17:30:55 -08:00 |
parrt
|
473e56d59f
|
more tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9103]
|
2011-10-03 11:04:01 -08:00 |
parrt
|
48e292dcdd
|
new test
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9102]
|
2011-10-02 20:35:18 -08:00 |
parrt
|
8508dd6da0
|
got sync in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9101]
|
2011-10-02 20:31:26 -08:00 |
parrt
|
bf48ca5b73
|
test for conjured token
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9097]
|
2011-10-02 16:19:03 -08:00 |
parrt
|
1556d076bd
|
got token insertion working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9096]
|
2011-10-02 16:15:02 -08:00 |
parrt
|
c33b06fdde
|
bug fix; no lexer if no lex rules
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9095]
|
2011-10-02 15:21:32 -08:00 |
parrt
|
2a34d00d09
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9094]
|
2011-10-02 13:18:10 -08:00 |
parrt
|
05360be562
|
more cleanup
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9093]
|
2011-10-02 13:17:06 -08:00 |
parrt
|
02d424a92b
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9092]
|
2011-10-02 12:58:53 -08:00 |
parrt
|
49571e386f
|
err clean up
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9091]
|
2011-10-02 12:51:33 -08:00 |
parrt
|
298a15e017
|
Parse error systemTweaks, removing the debug API since we won't use it
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9090]
|
2011-10-02 12:01:35 -08:00 |
parrt
|
9894221249
|
rename test. tweak errs
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9089]
|
2011-10-01 10:31:36 -08:00 |
parrt
|
6b4e9905fb
|
rename member, tweak output. new chk for inf loop from error sync works
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9088]
|
2011-09-30 20:40:14 -08:00 |
parrt
|
60c9fe76c0
|
almost got new error mech in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9087]
|
2011-09-30 20:22:09 -08:00 |
parrt
|
9e69640bc1
|
added more unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9086]
|
2011-09-27 17:09:17 -08:00 |
parrt
|
82360bfaa8
|
clean up
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9085]
|
2011-09-27 16:23:15 -08:00 |
parrt
|
c535d45f66
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9084]
|
2011-09-25 15:11:05 -08:00 |
parrt
|
fd3f482375
|
fixed regression in atn interp
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9083]
|
2011-09-25 15:10:21 -08:00 |
parrt
|
cd2c4e622d
|
fix bug in code gen for * loops
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9082]
|
2011-09-25 14:43:37 -08:00 |
parrt
|
e3d6db0478
|
more unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9081]
|
2011-09-25 14:10:30 -08:00 |
parrt
|
f02db87c02
|
got nullable kids tree parsing working. got $rule.text in tree parsing working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9077]
|
2011-09-24 17:12:22 -08:00 |
parrt
|
e8a2a738cf
|
rename TreeNodeStream
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9075]
|
2011-09-24 09:33:04 -08:00 |
parrt
|
93581cfa98
|
got v3 tests working in v4
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9074]
|
2011-09-24 09:14:22 -08:00 |
parrt
|
149033fb2e
|
add more tests from v3
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9073]
|
2011-09-24 08:41:15 -08:00 |
parrt
|
9c5f636bea
|
labels work with tree parsers now.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9072]
|
2011-09-22 17:32:25 -08:00 |
parrt
|
b63b271815
|
got basic tree parser working.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9071]
|
2011-09-22 17:16:22 -08:00 |
parrt
|
0c1716d062
|
reorg to get tree parser gen'd
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9070]
|
2011-09-20 16:30:20 -08:00 |
parrt
|
a126e2043a
|
add file
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9069]
|
2011-09-20 16:22:25 -08:00 |
parrt
|
6c45753bea
|
got basic tree parser ^(A B) stuff in.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9068]
|
2011-09-18 16:49:52 -08:00 |
parrt
|
a8195e5d7c
|
playing
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9067]
|
2011-09-11 16:20:42 -08:00 |
parrt
|
a1c682434d
|
removes the individual stacks to track rule invocations. $a::x now looks up the context stack for rule index RULE_a. they're not done very often and so it's better to say all of the overhead pushing and popping the contexts.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9066]
|
2011-09-11 16:12:01 -08:00 |
parrt
|
0e608ab0a4
|
clean up unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9065]
|
2011-09-11 15:16:53 -08:00 |
parrt
|
64ccba4168
|
rebuilt the code generator so that I generate a separate class for each labeled alternative and modify the listener so that it's always enter and exit rule; the type of the argument that distinguishes between them. I now create the overall rule context and then copy it into the alternative context if they have a label.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9064]
|
2011-09-11 15:09:55 -08:00 |
parrt
|
bf19465437
|
Got a rule labels added to the tree and also altered code generation so that it pays attention to the labels. fairly major surgery but it's a nice refactoring.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9062]
|
2011-09-09 17:08:13 -08:00 |
parrt
|
f13fd1973e
|
mv ruleIndex, add alt
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9061]
|
2011-09-09 13:00:58 -08:00 |
parrt
|
62937ca639
|
rename visit->walk
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9060]
|
2011-09-08 16:52:30 -08:00 |
parrt
|
2d234ee28c
|
Got the visitor thing cleaned up enough for a small example
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9059]
|
2011-09-08 13:45:05 -08:00 |