parrt
31c24292cd
unbuff char stream working
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9425]
2011-11-22 12:32:15 -08:00
parrt
f3b0ffb8b2
almost working
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9423]
2011-11-21 17:55:39 -08:00
parrt
0fe415e227
checking in but doesn't work yet; just so i can pull at work
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9421]
2011-11-20 16:07:45 -08:00
sharwell
9e89438556
v4: specify tokenVocab to fix unit test
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9391]
2011-11-18 11:34:49 -08:00
sharwell
c12167974b
v4: fix several unit tests
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9383]
2011-11-17 19:48:16 -08:00
sharwell
3e279fbd3e
v4: Update BaseTest harness for changes to the runtime
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9382]
2011-11-17 19:46:29 -08:00
parrt
e6d316f3e9
added {...} as option value. <fail={"value must be <= "+$max}>
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9303]
2011-11-12 12:47:11 -08:00
sharwell
783c3b2e50
v4:
...
* Use mark->seek->release instead of mark->release->seek
* mark() returns a marker. must pass the result of index() to seek(), and the result of mark() to release().
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9268]
2011-11-09 10:16:51 -08:00
parrt
5cf4cba9c7
fix bug in modes
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9231]
2011-10-31 16:27:34 -08:00
parrt
dd1ad971a9
more
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9229]
2011-10-30 13:49:35 -08:00
parrt
947a11a3e4
start lexical error unit tests
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9228]
2011-10-30 13:48:09 -08:00
parrt
2d43a22e27
reorg'd lexer
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9226]
2011-10-30 10:39:17 -08:00
parrt
95bc423669
more tests and made EOF always appear even if DONE : EOF ; in lexer
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9225]
2011-10-29 13:59:17 -08:00
parrt
bc5577307c
more tests
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9224]
2011-10-29 12:08:34 -08:00
parrt
6e2bbcdb42
got EOF in lexer
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9223]
2011-10-29 11:08:40 -08:00
parrt
2cbd522320
clean up, added tree parser err handler
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9178]
2011-10-23 14:04:58 -08:00
parrt
11b61d979d
refactored sync/recoverInLine. figured out exactly what sync does at start of alt. setState goes to loopBack now in loops
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9177]
2011-10-23 11:07:07 -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
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
05360be562
more cleanup
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9093]
2011-10-02 13:17:06 -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
9e69640bc1
added more unit tests
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9086]
2011-09-27 17:09:17 -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
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
0e608ab0a4
clean up unit tests
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9065]
2011-09-11 15:16:53 -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
c79848cca0
gen listener file; reorg file generation
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9053]
2011-09-07 16:51:10 -08:00
parrt
01020ee1bb
more cleanup
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9042]
2011-09-04 15:55:45 -08:00
parrt
32a375bbf7
I split the tree interface into multiple simpler ones and removed the methods that can modify a node. Either you should use the adapter or, you know the concrete type and then you can call those methods directly not through the interface. The whole point of the interface is to be flexible but then for consistency users must use the adapters. I'm also starting to pull helper methods into a Trees "module". I also renamed CommonTree to be CommonAST. I also renamed the adapters appropriately.
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9040]
2011-09-04 12:02:07 -08:00
parrt
783f1bc38f
Split token into read-only and writable portions. added release method. moved the methods around that get input streams and token streams between interfaces. simplify the character stream interface by moving the gas line and get characterization methods to the lexer.
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9039]
2011-09-03 17:36:14 -08:00
parrt
085dd05bf1
got parser nongreedy loops going
...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9032]
2011-08-12 19:51:12 -08:00