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
|
9328c164af
|
set type
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8913]
|
2011-07-27 16:45:02 -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
|
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 |
parrt
|
a29feac1bf
|
a bit of clean up
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8906]
|
2011-07-24 16:18:21 -08:00 |
parrt
|
66da1f723a
|
got unit tests working again for interp; got args funcs in output
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8902]
|
2011-07-24 11:48:43 -08:00 |
parrt
|
3b52eb4e6a
|
snapshot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8899]
|
2011-07-22 17:19:26 -08:00 |
parrt
|
7a109d29d5
|
added a LexerInterpreter and copied in unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8867]
|
2011-07-16 12:57:25 -08:00 |
parrt
|
65396e6d7c
|
don't reduce SETs if elements ref'd in -> rewrite
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8864]
|
2011-07-16 11:49:14 -08:00 |
parrt
|
43f4ef59f7
|
track tokens in SETs
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8863]
|
2011-07-15 16:10:47 -08:00 |
parrt
|
f81d629780
|
new visitor does away with CollectSymbols.g
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8862]
|
2011-07-15 15:51:25 -08:00 |
parrt
|
b9ef4f9bee
|
woot! new visitor does away with BasicSemanticTriggers.g and Refs.g
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8861]
|
2011-07-14 19:25:08 -08:00 |
parrt
|
f36b1ad875
|
started refactoring to collapse tree walker grammars into visitors
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8856]
|
2011-07-14 11:33:25 -08:00 |
parrt
|
42f6b7cf86
|
after much bullshit, got sets working for ast stuff.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8855]
|
2011-07-13 17:29:20 -08:00 |
parrt
|
39fe27dd1f
|
fixed outer most vs inner alt issue
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8853]
|
2011-07-12 10:21:34 -08:00 |
parrt
|
59178d9959
|
got most of AST op unit tests working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8852]
|
2011-07-11 18:35:52 -08:00 |
parrt
|
dbceac768d
|
all rewrites working minus error checking ones
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8851]
|
2011-07-10 17:56:11 -08:00 |
parrt
|
1dc598c26e
|
got lots more rewrite ast done including predicates
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8850]
|
2011-07-10 17:07:07 -08:00 |
parrt
|
a20912ba73
|
got rid of ...IsRoot templates and model elements!
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8848]
|
2011-07-09 16:27:01 -08:00 |
parrt
|
557e3a8389
|
got 61/81 rewrite ast tests working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8846]
|
2011-07-08 17:50:25 -08:00 |
parrt
|
671a7f9038
|
got lots of ast rewrites working; off to do labels
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8845]
|
2011-07-07 12:52:05 -08:00 |
parrt
|
aad0a37525
|
got some rewrite AST tests to work; got ID[...]
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8841]
|
2011-07-06 16:35:20 -08:00 |
parrt
|
f8abf5d40b
|
A B+ -> ^(A B)* works! fixed ant build
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8838]
|
2011-07-06 13:42:35 -08:00 |
parrt
|
df80cb7622
|
good start on * and ? in rewrites
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8826]
|
2011-07-04 17:47:44 -08:00 |
parrt
|
fbc92258f6
|
got nested trees working:
a : A b C -> ^(A ^(b C))
| B
;
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8825]
|
2011-07-03 14:40:04 -08:00 |
parrt
|
d33b3a4a62
|
got A b C -> ^(A b C) working :)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8824]
|
2011-07-03 12:18:47 -08:00 |
parrt
|
07161bffe7
|
major reorg to get rewrites in there
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8821]
|
2011-07-02 16:04:56 -08:00 |
parrt
|
ab8d07d82f
|
got started on rewrite stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8817]
|
2011-07-01 14:01:53 -08:00 |
parrt
|
b9daa3763c
|
using old ast op code from v3. works fine.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8812]
|
2011-06-30 12:11:32 -08:00 |
parrt
|
9da8639ba8
|
got AST construction ops working it seems.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8797]
|
2011-06-29 10:42:23 -08:00 |
parrt
|
68cef48483
|
cleaned up; mv'd stuff to parser. reorg to have lexer in controller
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8794]
|
2011-06-28 17:51:39 -08:00 |
parrt
|
2d5c4fd686
|
got core ^ and ! ops in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8791]
|
2011-06-28 16:15:31 -08:00 |
parrt
|
15fbaccb6d
|
reorg to get walking of rules out of default factory into controller
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8790]
|
2011-06-28 15:18:39 -08:00 |
parrt
|
9bc02bfd33
|
no tool depends now in ATN, moved some maps to arrays :)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8779]
|
2011-06-27 18:46:21 -08:00 |
parrt
|
4d04b21999
|
removed Rule depend from ATN
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8778]
|
2011-06-27 17:53:11 -08:00 |
parrt
|
ad98d17191
|
snapshot; removed some dependencies to tool in runtime; made sure java grammar / parser still works
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8777]
|
2011-06-27 17:38:15 -08:00 |
parrt
|
55ce044acf
|
reorg to get extensions
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8767]
|
2011-06-27 11:33:40 -08:00 |
parrt
|
46f68c8d63
|
moved decls into package. messed around with AddLeaf. must distinguish between implicit and regular labels. implicit are locals, manual labels go into ctx.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8765]
|
2011-06-26 13:20:02 -08:00 |
parrt
|
046b469f8e
|
got all locals into return struct. all vars are visible to invoked rules via $rule::attr now.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8757]
|
2011-06-23 17:29:51 -08:00 |
parrt
|
d8edb713ed
|
initial wack at args/return value object
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8743]
|
2011-06-22 18:04:29 -08:00 |
parrt
|
5f95cde48d
|
cleaned up action splitting
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8737]
|
2011-06-22 16:40:42 -08:00 |
parrt
|
a3b985fadf
|
added @ModelElement annotation. model walker now descends into these in order to fill template args.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8665]
|
2011-06-18 12:55:39 -08:00 |
parrt
|
1a17eb3be1
|
get to compile
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8662]
|
2011-06-18 10:35:31 -08:00 |
parrt
|
bb02ed151e
|
adding new files
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8661]
|
2011-06-17 16:44:51 -08:00 |
parrt
|
f6e54b3327
|
add more
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8637]
|
2011-06-14 16:29:02 -08:00 |