parrt
|
c16782c848
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9055]
|
2011-09-07 17:13:32 -08:00 |
parrt
|
297087770e
|
scope listener name in output
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9054]
|
2011-09-07 17:01:59 -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
|
4f2beaf69d
|
rename discover/finish
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9052]
|
2011-09-07 15:04:35 -08:00 |
Udo Borkowski
|
a440d4e988
|
add TreeViewer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9051]
|
2011-09-06 08:45:28 -08:00 |
parrt
|
1e595a486a
|
add
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9050]
|
2011-09-06 06:31:44 -08:00 |
parrt
|
730794128e
|
parse tree visiting; now, we ALWAYS generate a return struct definition: rule_ctx.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9049]
|
2011-09-05 17:08:26 -08:00 |
parrt
|
d3dc566a69
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9048]
|
2011-09-05 13:11:33 -08:00 |
parrt
|
99d5d64efb
|
update ant build
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9047]
|
2011-09-05 13:05:58 -08:00 |
parrt
|
afb767b99c
|
should not be in depot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9046]
|
2011-09-05 12:54:27 -08:00 |
parrt
|
0f74909c8c
|
mv ruleIndex
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9045]
|
2011-09-05 12:49:54 -08:00 |
Udo Borkowski
|
f93bc7aa7a
|
add org.abego.treelayout
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9044]
|
2011-09-05 10:50:57 -08:00 |
parrt
|
528d6df1e3
|
added list of rule consts; parser ctx tracks rule index
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9043]
|
2011-09-05 08:28:24 -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
|
5c35165873
|
update the comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9041]
|
2011-09-04 13:49:40 -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
|
5c6f35abef
|
did some reorganization
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9038]
|
2011-09-03 11:52:23 -08:00 |
parrt
|
c1aa0fcd10
|
New parse tree mechanism
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9037]
|
2011-09-03 09:18:26 -08:00 |
parrt
|
104f39acde
|
working on parse trees
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9036]
|
2011-09-02 17:15:36 -08:00 |
parrt
|
7aad57fe49
|
add
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9035]
|
2011-09-02 16:18:25 -08:00 |
parrt
|
62549b65bf
|
add dbg classes. add mark/rewind
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9034]
|
2011-09-02 16:17:37 -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 |
parrt
|
f44c49a8b8
|
got lexer nongreedy loops going
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9018]
|
2011-08-07 11:19:34 -08:00 |
parrt
|
a9782118ac
|
add
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8985]
|
2011-08-04 08:56:08 -08:00 |
parrt
|
d926ec9661
|
WOOT! all left-recursive tests pass
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8972]
|
2011-07-31 18:14:47 -08:00 |
parrt
|
ec5d74c83e
|
removed all traces of FORCED_ACTION
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8971]
|
2011-07-31 12:36:07 -08:00 |
parrt
|
a7f2bc31ac
|
ok, got new simple semantics in for sempreds; no forced actions and preds always eval unless ctx dependent, in which case they need to bein original rule.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8970]
|
2011-07-31 11:58:59 -08:00 |
parrt
|
328444244f
|
backing out changes; tried 2 stacks; too complicated
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8969]
|
2011-07-31 10:38:48 -08:00 |
parrt
|
d2651a50a6
|
backing out changes; tried 2 stacks; too complicated
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8968]
|
2011-07-31 10:38:23 -08:00 |
parrt
|
c713b3dd2d
|
rm print
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8967]
|
2011-07-30 17:22:56 -08:00 |
parrt
|
e32bae3276
|
rebuilt ATN structure for ()* and ()+; two decisions each now unless single alt.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8966]
|
2011-07-30 17:20:57 -08:00 |
parrt
|
cf54eea3b3
|
set type
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8965]
|
2011-07-30 15:25:14 -08:00 |
parrt
|
64e12dbfa5
|
add method
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8961]
|
2011-07-30 11:49:49 -08:00 |
parrt
|
2ebedba421
|
debugging
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8933]
|
2011-07-29 15:45:31 -08:00 |
parrt
|
0168e0837a
|
finished getting unit tests for action/pred exec during ATN simulation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8932]
|
2011-07-29 14:49:16 -08:00 |
parrt
|
b90b073450
|
getting more unit tests in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8924]
|
2011-07-29 14:05:19 -08:00 |
parrt
|
4b5cd3a9ba
|
We're forced to exec args, even if dependent on _localctx. If no actual context to use, create dummy context to use for arg eval only.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8922]
|
2011-07-29 11:45:27 -08:00 |
parrt
|
dcfb804ed3
|
added method to get context for non-arg rules
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8921]
|
2011-07-28 19:36:56 -08:00 |
parrt
|
cce6c70b2e
|
fixed context in sempred. don't exec forced actions either if in outer context and dependent.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8920]
|
2011-07-28 15:15:41 -08:00 |
parrt
|
3d15daccad
|
got predicate issue resolved. executes preds if not dependent on context and no dipping into outer context
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8919]
|
2011-07-28 12:43:28 -08:00 |
parrt
|
0cb91817d9
|
not tested but put locals into attr lookup for rule and code gen chunks + java.stg
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8917]
|
2011-07-28 10:29:12 -08:00 |
parrt
|
10d7a79324
|
reorg; cleanup. added ast.g ptr setting to nodes created during left-recursion elim.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8915]
|
2011-07-27 17:03:54 -08:00 |
parrt
|
e084c12483
|
rm gated sem pred and other weird variants
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8914]
|
2011-07-27 16:50:13 -08:00 |
parrt
|
9328c164af
|
set type
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8913]
|
2011-07-27 16:45:02 -08:00 |
parrt
|
2db09cdeb9
|
rm scopes for rules/grammar, added locals [int i, int j] for rules. i do not generate anything for the LOCALS tree at moment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8912]
|
2011-07-27 16:43:16 -08:00 |
parrt
|
2136287966
|
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8911]
|
2011-07-27 15:55:30 -08:00 |
parrt
|
078e2ab47c
|
java.g working again.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8910]
|
2011-07-26 10:56:24 -08:00 |
parrt
|
fd3f8b17c9
|
~sets weren't working; got closer to java.g working again.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8909]
|
2011-07-25 18:09:00 -08:00 |
parrt
|
c6fa2fce6e
|
decided to clean up a bit, backtracking from updating current to have inner/outer context. will try with full ctx again.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8908]
|
2011-07-25 16:49:33 -08:00 |