Commit Graph

39 Commits

Author SHA1 Message Date
Terence Parr e86f89724f added check: action in lexer rules must be last element of outermost alt 2012-11-17 16:50:38 -08:00
Terence Parr b1a3370934 .tokens files goes in output dir like parser file. 2012-11-17 16:25:51 -08:00
Terence Parr 328dedd778 change version 2012-11-11 10:41:04 -08:00
Terence Parr e5c2dfaac4 Kill box in tree dialog box makes dialog dispose of itself 2012-11-04 15:47:00 -08:00
Terence Parr d1795d205f Revert "add option -exact-ambiguities to TestRig"
This reverts commit 400b58d4a0.
2012-11-03 17:34:34 -07:00
Terence Parr 400b58d4a0 add option -exact-ambiguities to TestRig 2012-11-03 16:40:23 -07:00
Terence Parr 72c1fc8f6d tweaks on comments 2012-10-29 12:47:09 -07:00
Terence Parr a115490d5e Merge branch 'warnings-as-errors' of git://github.com/sharwell/antlr4 2012-10-29 11:27:46 -07:00
Terence Parr d996b5c8c7 update change log 2012-10-20 12:15:43 -07:00
Terence Parr 93070445bd update change log 2012-10-14 18:53:54 -07:00
Terence Parr 6102c632bc update changes.txt 2012-10-08 11:33:40 -07:00
Terence Parr 40ca5bf6b0 set release for today. 2012-10-01 15:48:12 -07:00
Terence Parr 2db3691f6d added -depend cmd-line option; fixes #71 2012-09-30 18:27:36 -07:00
Terence Parr 68dd847c04 * Fixed the unbuffered streams, which actually buffered everything
up by mistake. tweaked a few comments.

* Added a getter to IntStream for the token factory
2012-09-30 16:45:30 -07:00
Terence Parr 098bdab294 tweak for 4.0b2 version num. 2012-09-29 12:53:44 -07:00
Terence Parr 84c786da50 update change list. 2012-09-29 12:36:41 -07:00
Terence Parr ea652962ea allow "tokens {}" 2012-09-28 16:39:36 -07:00
Terence Parr 5f8645ce9f forgot to add to the changes list 2012-09-22 17:36:59 -07:00
Terence Parr 91bad33f57 comment out attributes for lexical rule references. 2012-09-22 15:01:54 -07:00
Terence Parr 046402b00e updated Changes 2012-09-18 11:01:52 -07:00
Terence Parr 5fbc994342 update changes 2012-04-26 12:26:14 -07:00
Terence Parr 65bd541242 add to changes file 2012-02-18 16:50:12 -08:00
Terence Parr c6fd897287 altered naming scheme for listeners/visitors
* names changed. visit() -> visitX(). enter/exit() -> enter/exitX()
* capitalizing automatically now. rule s -> SContext not sContext
* no enter/exit method in generic rule context object if rule has alt labels, nor in interfaces.
* dup labels allowed in same rule
* label X or x illegal if rule x exists
2012-02-18 12:40:47 -08:00
Terence Parr fa3a664696 got some good examples working that play around with the getter methods. 2012-02-14 16:33:12 -08:00
Terence Parr 3cefd3832f tweak readme 2012-01-30 17:03:48 -08:00
parrt e90b322dd4 ~[] stuff is allowed and works inside sets etc...
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9926]
2012-01-28 14:36:46 -08:00
parrt 15d537ce6e Added ranges, escapes to [a-z] notation in lexer
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9897]
2012-01-22 11:37:15 -08:00
parrt 9ffe9d2ee3 must have forgotten to commit
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9894]
2012-01-21 21:21:35 -08:00
parrt 6013c4c97d Added modeNames to gen'd lexers
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9878]
2012-01-21 15:10:46 -08:00
parrt 491744f893 reuse of -> label on multiple alts in rule caused dup ctx object defs.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9868]
2012-01-14 13:12:35 -08:00
parrt 093a4f951b leave start/stop char index alone in CommonTokenFactory; refers to original text.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9867]
2012-01-14 11:18:23 -08:00
parrt 1ddf609e25 labels on tokens in left-recursive rules caused codegen exception.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9866]
2012-01-14 10:18:19 -08:00
parrt 5bd780c235 in tree views, spaces/newlines were blanks. I converted to \n and middle dot
for space.

[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9857]
2012-01-11 17:25:44 -08:00
parrt b3c187e6c3 update changes
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9855]
2012-01-11 11:20:52 -08:00
parrt e8ae8ee005 labels allowed in left recursive rule refs.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9834]
2012-01-05 18:35:20 -08:00
parrt 4ae23f4a64 * 1+2*3 now gives new parse tree: (e (e 1) + (e (e 2) * (e 3))) See CHANGES.txt now too
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9833]
2012-01-05 12:27:14 -08:00
parrt 2e8a5f391a no more -trace
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9826]
2012-01-04 17:41:42 -08:00
parrt e7f6ba5ac1 lr rules now gen only 1 rule e->e not e->e_ etc... altered tests to build parse trees.
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9823]
2012-01-04 17:36:24 -08:00
parrt 55f384237b add initial antlr4 files (mainly runtime)
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 8636]
2011-06-14 16:22:05 -08:00