parrt
|
2384c42698
|
tweaked LA(1) var
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6854]
|
2010-05-10 10:59:30 -08:00 |
parrt
|
883a00a4b0
|
got simple LL1 (..) and (..)? in; added Decl concept
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6851]
|
2010-05-09 16:15:08 -08:00 |
parrt
|
3e1f43117e
|
template names = class names; reorg'd char stuff; got bitsets defined.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6850]
|
2010-05-09 12:11:50 -08:00 |
parrt
|
cab4d7d197
|
added comments
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6849]
|
2010-05-08 15:36:31 -08:00 |
parrt
|
d822cb8b23
|
removed alt as unnecessary arg to LOOK in linear approximator; added FOLLOW computation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6848]
|
2010-05-08 15:35:03 -08:00 |
parrt
|
3b7b45787a
|
forget lexers
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6847]
|
2010-05-08 15:00:55 -08:00 |
parrt
|
8fa7179c6d
|
track AST nodes -> NFA now and add more code gen
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6846]
|
2010-05-08 14:58:22 -08:00 |
parrt
|
5baff5d37e
|
snapshot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6845]
|
2010-05-07 13:12:28 -08:00 |
parrt
|
07625981fb
|
got good start on code generator
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6844]
|
2010-05-06 17:54:58 -08:00 |
parrt
|
fbaeb50e5e
|
track finally action separately now
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6843]
|
2010-05-06 11:55:49 -08:00 |
parrt
|
9913972caa
|
adding initial src code generation output model objects
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6842]
|
2010-05-05 15:52:29 -08:00 |
parrt
|
c310c3b3a1
|
optimization: don't add intermediate closure addrs to closure; did same for parser DFA construction as i did for NFA VM.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6841]
|
2010-05-05 12:22:21 -08:00 |
parrt
|
62aa952f34
|
optimization: don't add intermediate closure addrs to closure; we ignore them during reach anyway. saves time/space.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6840]
|
2010-05-05 11:22:22 -08:00 |
parrt
|
27d9f25ec2
|
simplified label computation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6839]
|
2010-05-04 12:04:49 -08:00 |
parrt
|
b0ca11f46b
|
got sempreds in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6838]
|
2010-05-04 11:17:29 -08:00 |
parrt
|
e6d65be27b
|
rewinds now and does with feeling for actions in rules
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6837]
|
2010-05-03 17:02:47 -08:00 |
parrt
|
cf7a730b31
|
reworked how i assign label indexes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6836]
|
2010-05-03 16:14:20 -08:00 |
parrt
|
9c03c08ba0
|
added comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6835]
|
2010-05-02 17:16:14 -08:00 |
parrt
|
689687f0ed
|
reorg so instrs in separate package. added label/save; added code gen at least for actions/sempred.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6834]
|
2010-05-02 17:11:30 -08:00 |
parrt
|
61603d18a9
|
more tests, fixes ANTLR-189. recursion works; rewinds properly.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6833]
|
2010-05-01 13:48:25 -08:00 |
parrt
|
16ad680adb
|
recursive calls work
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6832]
|
2010-05-01 13:23:08 -08:00 |
parrt
|
f6f444db52
|
got QID calling ID working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6831]
|
2010-05-01 13:10:49 -08:00 |
parrt
|
f3e6d4644d
|
got INT calls DIGIT working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6830]
|
2010-05-01 12:46:47 -08:00 |
parrt
|
9dbc6a43fd
|
added exec version that handles stack and new ThreadState / context. unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6829]
|
2010-05-01 11:38:18 -08:00 |
parrt
|
541350bbe3
|
handles nongreedy + and * loops. rewinds properly to last good accept if we kept going and failed.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6828]
|
2010-04-30 17:37:07 -08:00 |
parrt
|
6b55114dd0
|
got it to kill all addrs within a rule once we hit its accept state; needed for nongreedy loops.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6827]
|
2010-04-30 16:54:38 -08:00 |
parrt
|
43278cf701
|
added SAVE, WILDCARD
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6826]
|
2010-04-30 14:21:00 -08:00 |
parrt
|
7cf42fe4dd
|
reorg a bit
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6825]
|
2010-04-30 13:54:10 -08:00 |
parrt
|
a576c16905
|
got thompson's working it seems
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6823]
|
2010-04-29 17:33:29 -08:00 |
parrt
|
0516292911
|
got basic NFA code gen and interp working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6822]
|
2010-04-29 11:37:11 -08:00 |
parrt
|
4093bb326e
|
add todo
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6821]
|
2010-04-22 13:08:47 -08:00 |
parrt
|
3015778202
|
added in NFA VM prototype
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6820]
|
2010-04-22 13:07:16 -08:00 |
parrt
|
41c0225adf
|
fix how decision numbers set in lexer nfas
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6819]
|
2010-04-20 16:13:38 -08:00 |
parrt
|
55899d032c
|
got modes sort of working
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6818]
|
2010-04-20 15:29:43 -08:00 |
parrt
|
91f92d9b6c
|
added test for modes in non lexers
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6817]
|
2010-04-19 15:30:01 -08:00 |
parrt
|
849060e55a
|
added "mode ID;" to the grammar.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6816]
|
2010-04-19 15:18:13 -08:00 |
parrt
|
529933b0ba
|
reworked ErrorManager to be instance, tool makes one. errors go to tool.errMgr and back to tool for emitting out listener list. fixed unit tests to go with it.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6814]
|
2010-04-12 12:00:22 -08:00 |
parrt
|
c29f0e1d7c
|
figured out unit test issues; sem pipeline bailed out too early and also setting errorlistener didn't reset error count
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6813]
|
2010-04-11 11:26:32 -08:00 |
parrt
|
2faaf7bc7f
|
added cached hashcode check to equals
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6812]
|
2010-04-11 10:55:47 -08:00 |
parrt
|
2646c177b1
|
comment out template tests,
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6811]
|
2010-04-11 10:55:26 -08:00 |
parrt
|
c2fd73647a
|
added empty/non-empty test into nfa context ambig check; was missing. added comments
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6810]
|
2010-04-11 10:47:08 -08:00 |
parrt
|
37b7f46d40
|
more tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6809]
|
2010-04-10 17:40:36 -08:00 |
parrt
|
f6eaa737a4
|
more tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6808]
|
2010-04-10 16:50:12 -08:00 |
parrt
|
47a3f66fea
|
added more DFA unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6807]
|
2010-04-10 16:19:10 -08:00 |
parrt
|
dcadda638e
|
got some unit tests in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6787]
|
2010-04-04 15:45:24 -08:00 |
parrt
|
c2f24b5f8a
|
sorted DFA output, added approx tests, got unit tests working again; notSet messed up. impl set transitions.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6786]
|
2010-04-02 13:32:47 -08:00 |
parrt
|
d67e0d6a56
|
removed unused recursion errors
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6785]
|
2010-04-01 15:50:59 -08:00 |
parrt
|
ddc285a6c1
|
update comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6784]
|
2010-03-31 17:13:25 -08:00 |
parrt
|
856c532174
|
update comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6783]
|
2010-03-31 17:07:49 -08:00 |
parrt
|
067b6b60f6
|
don't pass configs down through closures
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6782]
|
2010-03-31 17:06:35 -08:00 |