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
|
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
|
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
|
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
|
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
|
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
|
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
|
b4b02bb813
|
cleaned up atn construction / set detection / unit tests. still not done full context in parser simulation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8904]
|
2011-07-24 15:25:17 -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
|
40f9e867cd
|
23 import grammar unit tests pass
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8896]
|
2011-07-20 18:55:23 -08:00 |
parrt
|
36f3590f6c
|
got rule props in for current rule; fixed yet another freakin bug in implicit lexer extraction.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8895]
|
2011-07-19 19:18:16 -08:00 |
parrt
|
6dab71e160
|
symbol issue test working again
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8894]
|
2011-07-19 16:44:35 -08:00 |
parrt
|
66933e36a2
|
got token aliases checks done
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8893]
|
2011-07-19 11:54:37 -08:00 |
parrt
|
c6904bb21b
|
imports get merged into root grammar now.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8872]
|
2011-07-18 13:31:24 -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
|
9fb93fd090
|
fixed wildcard; ast ops all work now per tests :)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8866]
|
2011-07-16 12:24:43 -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
|
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
|
8a1a9d39cd
|
fixed ast structure unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8854]
|
2011-07-12 10:37:24 -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
|
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
|
1510686b02
|
runtime no longer depends on tool module
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8787]
|
2011-06-28 11:51:21 -08:00 |
parrt
|
87c727e91f
|
change rule to ruleIndex in Rule; tests pass
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8786]
|
2011-06-28 11:37:45 -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
|
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
|
7f56ba47c3
|
separated setattr for lexers
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8740]
|
2011-06-22 17:12:13 -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
|
c607e66f1a
|
added demo target X.stg
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8729]
|
2011-06-22 15:03:47 -08:00 |
parrt
|
4e3fd8446d
|
removed state stuff
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8726]
|
2011-06-22 14:45:28 -08:00 |
parrt
|
1d6ce54816
|
tweak token consts.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8668]
|
2011-06-18 15:08:43 -08:00 |
parrt
|
da633613a7
|
all rule indexes are 0-based now; 0..n-1 not 1..n
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8667]
|
2011-06-18 15:06:49 -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
|
72ee89294f
|
add
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8642]
|
2011-06-16 10:58:51 -08:00 |
parrt
|
36fb229434
|
Rename/move file(s) from old antlr4 to antlr-rewrite; that's not antlr4 anymore
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 7912]
|
2011-03-26 11:33:02 -08:00 |
parrt
|
0c254d7629
|
improve gunit in v4
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 7388]
|
2011-01-02 14:50:08 -08:00 |
parrt
|
695c997f26
|
tweak comment
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 7167]
|
2010-11-23 18:14:49 -08:00 |
parrt
|
3bf528498a
|
move tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6912]
|
2010-06-15 14:09:46 -08:00 |
parrt
|
4b71c478c1
|
huge update; preds in lexers
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6911]
|
2010-06-15 14:06:56 -08:00 |
parrt
|
c18898a917
|
PDA for lexers are too slow; working DFA back in. DFA construction was nondeterministic due to sets not ordered sets.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6909]
|
2010-06-10 15:24:09 -08:00 |
parrt
|
a017bb8feb
|
NOT eval was messed up; handles java lexer now (slowly)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6905]
|
2010-06-08 16:34:07 -08:00 |
parrt
|
98bddc4446
|
got unicode and escape sequences into literals for bytecodes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6904]
|
2010-06-08 11:49:31 -08:00 |
parrt
|
de380d2fd1
|
got DFA interp working from parser grammar + unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6902]
|
2010-05-28 12:17:17 -08:00 |
parrt
|
19aecd3163
|
added NOT/SET ops, refactored PDA generation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6900]
|
2010-05-27 16:01:55 -08:00 |
parrt
|
acf962bc28
|
initial DFA -> PDA compilation
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6899]
|
2010-05-26 17:34:28 -08:00 |
parrt
|
eaaa98bde9
|
got sync in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6883]
|
2010-05-22 12:23:36 -08:00 |
parrt
|
03d9f0ba32
|
Got rid of the fields listed in the output model object hierarchy; created the exception throwing templates
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6882]
|
2010-05-22 10:27:11 -08:00 |
parrt
|
33c8efe7e5
|
finished dyn scope trans. unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6880]
|
2010-05-21 13:45:12 -08:00 |
parrt
|
be72c49e53
|
got dyn scope code gen partially going
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6879]
|
2010-05-20 15:28:34 -08:00 |
parrt
|
89b05e0954
|
got start on action trans testing
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6878]
|
2010-05-20 13:00:09 -08:00 |
parrt
|
1b0186329c
|
snapshot
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6876]
|
2010-05-19 16:42:08 -08:00 |
parrt
|
118d225066
|
got actions into lexer; reorg'd
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6872]
|
2010-05-17 13:28:04 -08:00 |
parrt
|
f5cc4efc1b
|
got basic lexers generated
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6871]
|
2010-05-16 15:00:56 -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
|
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
|
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
|
4093bb326e
|
add todo
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6821]
|
2010-04-22 13:08:47 -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
|
2646c177b1
|
comment out template tests,
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6811]
|
2010-04-11 10:55:26 -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
|
6ad8ff2a46
|
moved lots of crap from v3 for DFA display
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6741]
|
2010-03-07 14:18:03 -08:00 |
parrt
|
4125ed8fb4
|
got left-recursion core in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6738]
|
2010-03-06 17:50:19 -08:00 |
parrt
|
572aeb0071
|
got more NFA constr. tests in; added range
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6737]
|
2010-03-06 14:39:54 -08:00 |
parrt
|
4fb0e7db70
|
stop processing if syn err.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6721]
|
2010-02-23 11:53:59 -08:00 |
parrt
|
3872f92017
|
fix unit tests; all pass
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6720]
|
2010-02-23 11:36:12 -08:00 |
parrt
|
2e6aee85af
|
fixed unit tests
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6719]
|
2010-02-23 11:29:52 -08:00 |
parrt
|
49d7d03238
|
fixed up import symbols and tokens{} section in imports
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6718]
|
2010-02-23 11:20:37 -08:00 |
parrt
|
0e38fd9c47
|
detect missing ';' on rule
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6709]
|
2010-02-20 17:28:43 -08:00 |
parrt
|
c08812ea54
|
cleaned up, added $ids check for list labels
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6700]
|
2010-02-16 17:03:55 -08:00 |
parrt
|
340af98839
|
cleaned up resolving. resolver interface is only 3 methods now
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6699]
|
2010-02-16 14:25:02 -08:00 |
parrt
|
6ec90d61d9
|
refactored resolving; clean up in next push
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6698]
|
2010-02-16 13:25:02 -08:00 |
parrt
|
9c8e4380fc
|
got more tests in; about to refactor resolving.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6697]
|
2010-02-16 10:32:51 -08:00 |
parrt
|
29c602c202
|
got dynamic scope checking in
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6696]
|
2010-02-15 16:38:59 -08:00 |
parrt
|
e38535a9bc
|
got attribute checks done
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6693]
|
2010-02-15 12:55:04 -08:00 |
parrt
|
68719b8df7
|
got test harness going
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 6691]
|
2010-02-12 17:46:33 -08:00 |