Quick Search:

jump to detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

head 4919 1225

latest revision download Branch head

4919 annotated / raw | Diffs: previous, other | Lines: 1414 ( +1, -1 )

Created: 2008-05-15 16:35:43 -0500 (18 hours ago) | Author: parrt | Changeset: 4919

update to 2008 license

4903 annotated / raw | Diffs: previous, other | Lines: 1414 ( +1, -4 )

Created: 2008-05-11 18:48:36 -0500 (4 days ago) | Author: parrt | Changeset: 4903

isolated rewrite from elements in alt; tweaked templates

4893 annotated / raw | Diffs: previous, other | Lines: 1417 ( +1, -1 )

Created: 2008-05-10 19:46:57 -0500 (5 days ago) | Author: parrt | Changeset: 4893

fix extra location

4864 annotated / raw | Diffs: previous, other | Lines: 1417 ( +3, -1 )

Created: 2008-05-07 20:45:50 -0500 (8 days ago) | Author: parrt | Changeset: 4864

Fixed ANTLR-222 as well as many improvements regarding predicates hidden by actions.

4832 annotated / raw | Diffs: previous, other | Lines: 1415 ( +6, -0 )

Created: 2008-05-01 17:11:57 -0500 (14 days ago) | Author: parrt | Changeset: 4832

Fixed ANTLR-202. warnings for ambig $a ref in rule a

4830 annotated / raw | Diffs: previous, other | Lines: 1409 ( +6, -5 )

Created: 2008-05-01 15:44:09 -0500 (14 days ago) | Author: parrt | Changeset: 4830

fix overzealous new error msg

4826 annotated / raw | Diffs: previous, other | Lines: 1408 ( +5, -5 )

Created: 2008-05-01 13:33:56 -0500 (14 days ago) | Author: parrt | Changeset: 4826

move token option spec out of runtime

4815 annotated / raw | Diffs: previous, other | Lines: 1408 ( +20, -21 )

Created: 2008-04-30 12:58:02 -0500 (15 days ago) | Author: parrt | Changeset: 4815

Added token options to terminals: ID<node=V; foo="Big bob"> and renamed some method namesSo that I could add more options to the GrammarAST.  Had to update the tree parser AST templates so that they properly generated heterogeneous tree construction during automatic AST construction.

4809 annotated / raw | Diffs: previous, other | Lines: 1409 ( +17, -0 )

Created: 2008-04-29 16:34:56 -0500 (16 days ago) | Author: parrt | Changeset: 4809

Fix ANTLR-224.  Made every node have enclosedRuleName set.

4556 annotated / raw | Diffs: previous, other | Lines: 1392 ( +0, -1 )

Created: 2008-02-15 12:45:13 -0600 (2 months 29 days ago) | Author: parrt | Changeset: 4556

rm ASTNULL, fix build dep thing

4553 annotated / raw | Diffs: previous, other | Lines: 1393 ( +1, -0 )

Created: 2008-02-14 20:04:49 -0600 (2 months 30 days ago) | Author: parrt | Changeset: 4553

fixed ANTLR-221

4550 annotated / raw | Diffs: previous, other | Lines: 1392 ( +1, -1 )

Created: 2008-02-14 13:08:54 -0600 (2 months 30 days ago) | Author: parrt | Changeset: 4550

subrules within tree matching was not working in tree grammars when AST was true

4542 annotated / raw | Diffs: previous, other | Lines: 1392 ( +7, -2 )

Created: 2008-02-12 15:16:45 -0600 (3 months 1 day ago) | Author: parrt | Changeset: 4542

Fix ANTLR-219, ANTLR-220.

4448 annotated / raw | Diffs: previous, other | Lines: 1387 ( +13, -1 )

Created: 2008-01-08 16:32:12 -0600 (4 months 6 days ago) | Author: parrt | Changeset: 4448

snapshot. mostly finished with the composite grammar thing, but I am still working on it. needed to push something for Jean.

4426 annotated / raw | Diffs: previous, other | Lines: 1375 ( +5, -0 )

Created: 2007-12-29 18:53:41 -0600 (4 months 16 days ago) | Author: parrt | Changeset: 4426

numerous template changes.  Fixed ANTLR-195 also.  This fixes rewrite mode for tree construction in tree grammars.  Verified that polydiff example works with rewrite=false or rewrite=true now.

4413 annotated / raw | Diffs: previous, other | Lines: 1370 ( +15, -8 )

Created: 2007-12-28 19:24:30 -0600 (4 months 17 days ago) | Author: parrt | Changeset: 4413

tweaked a few things in code gen to get tree rewrite example working

4394 annotated / raw | Diffs: previous, other | Lines: 1363 ( +3, -5 )

Created: 2007-12-27 18:46:24 -0600 (4 months 18 days ago) | Author: parrt | Changeset: 4394

Fix ANTLR-165.

4048 annotated / raw | Diffs: previous, other | Lines: 1365 ( +5, -0 )

Created: 2007-09-10 16:15:49 -0500 (8 months ago) | Author: parrt | Changeset: 4048

added {{...}} forced action

3994 annotated / raw | Diffs: previous, other | Lines: 1360 ( +76, -17 )

Created: 2007-08-15 13:15:09 -0500 (9 months ago) | Author: parrt | Changeset: 3994

pull parrt dev back to main

3682 annotated / raw | Diffs: previous, other | Lines: 1301 ( +26, -8 )

Created: 2007-05-03 20:47:01 -0500 (12 months ago) | Author: parrt | Changeset: 3682

Fixed ANTLR-82

3615 annotated / raw | Diffs: previous, other | Lines: 1283 ( +3, -0 )

Created: 2007-04-22 17:10:14 -0500 (12 months ago) | Author: parrt | Changeset: 3615

Fixed ANTLR-11 and some other label issues.  Now labels on ranges and such in lexer work properly.

3609 annotated / raw | Diffs: previous, other | Lines: 1280 ( +66, -49 )

Created: 2007-04-21 19:56:08 -0500 (12 months ago) | Author: parrt | Changeset: 3609

gutted the AST rewrite mechanism; fixed a bunch of bugs: ANTLR-112, ANTLR-110, ANTLR-109, ANTLR-103, ANTLR-97, ANTLR-113, ANTLR-66, ANTLR-98, ANTLR-24, ANTLR-114, ANTLR-5, ANTLR-6

3542 annotated / raw | Diffs: previous, other | Lines: 1263 ( +3, -0 )

Created: 2007-04-10 18:12:04 -0500 (13 months ago) | Author: parrt | Changeset: 3542

Fixed ANTLR-92.  Can use sets with -> rewrites now

3533 annotated / raw | Diffs: previous, other | Lines: 1260 ( +3, -3 )

Created: 2007-04-07 17:58:19 -0500 (13 months ago) | Author: parrt | Changeset: 3533

wasn't doing sets properly (more than one in a rule didn't work)

3526 annotated / raw | Diffs: previous, other | Lines: 1260 ( +11, -23 )

Created: 2007-04-03 15:27:04 -0500 (13 months ago) | Author: parrt | Changeset: 3526

fix problem in unused label optimization

3520 annotated / raw | Diffs: previous, other | Lines: 1272 ( +5, -0 )

Created: 2007-03-30 17:19:08 -0500 (13 months ago) | Author: parrt | Changeset: 3520

fixed ANTLR-8

3519 annotated / raw | Diffs: previous, other | Lines: 1267 ( +6, -2 )

Created: 2007-03-30 16:18:39 -0500 (13 months ago) | Author: parrt | Changeset: 3519

fix bug I introduced yesterday; new unit test

3517 annotated / raw | Diffs: previous, other | Lines: 1263 ( +167, -157 )

Created: 2007-03-29 21:02:12 -0500 (13 months ago) | Author: parrt | Changeset: 3517

clean up of sets

3490 annotated / raw | Diffs: previous, other | Lines: 1253 ( +2, -0 )

Created: 2007-03-15 15:03:40 -0500 (14 months ago) | Author: parrt | Changeset: 3490

fixed (...)=> meaning

3425 annotated / raw | Diffs: previous, other | Lines: 1251 ( +10, -5 )

Created: 2007-02-10 16:57:35 -0600 (15 months ago) | Author: parrt | Changeset: 3425

changed @finally to finally, added @after.

3381 annotated / raw | Diffs: previous, other | Lines: 1246 ( +2, -0 )

Created: 2007-01-02 20:32:44 -0600 (16 months ago) | Author: parrt | Changeset: 3381

minor tweak to printing of grammar fragments in comments

3367 annotated / raw | Diffs: previous, other | Lines: 1244 ( +4, -4 )

Created: 2006-12-28 19:30:11 -0600 (16 months ago) | Author: parrt | Changeset: 3367

rewrite mode, etc...

3336 annotated / raw | Diffs: previous, other | Lines: 1244 ( +0, -4 )

Created: 2006-12-19 13:38:07 -0600 (16 months ago) | Author: parrt | Changeset: 3336

moved ^^ to ^

3242 annotated / raw | Diffs: previous, other | Lines: 1248 ( +18, -18 )

Created: 2006-11-10 13:00:10 -0600 (18 months ago) | Author: parrt | Changeset: 3242

new Integer -> Utils.integer to cache Integers

3235 annotated / raw | Diffs: previous, other | Lines: 1248 ( +6, -6 )

Created: 2006-11-09 15:56:51 -0600 (18 months ago) | Author: parrt | Changeset: 3235

bunch of tweaks with a few bugs fixed; all found by FindBugs

3228 annotated / raw | Diffs: previous, other | Lines: 1248 ( +1, -0 )

Created: 2006-11-09 04:57:49 -0600 (18 months ago) | Author: kroepke | Changeset: 3228

fixes ANTLR-27
added grammar argument to GrammarSynxtaxMessage and syntaxError() ErrorManager
tweaked all v2 grammars to supply the current grammar

3192 annotated / raw | Diffs: previous, other | Lines: 1247 ( +6, -0 )

Created: 2006-11-02 20:06:54 -0600 (18 months ago) | Author: parrt | Changeset: 3192

added tree grammar error

3011 annotated / raw | Diffs: previous, other | Lines: 1241 ( +53, -1 )

Created: 2006-09-26 15:01:28 -0500 (19 months ago) | Author: parrt | Changeset: 3011

Kay's changes for t=~ID

2987 annotated / raw | Diffs: previous, other | Lines: 1189 ( +5, -3 )

Created: 2006-09-15 15:50:54 -0500 (19 months ago) | Author: parrt | Changeset: 2987

enforce foo in foo.g; update unit tests

2835 annotated / raw | Diffs: previous, other | Lines: 1187 ( +3, -7 )

Created: 2006-07-26 18:23:25 -0500 (21 months ago) | Author: parrt | Changeset: 2835

fixed bug in how I refer to token types; minor but broke stuff. Changed how I define tokens; don't let literal clobber name for it.

2830 annotated / raw | Diffs: previous, other | Lines: 1191 ( +6, -1 )

Created: 2006-07-26 14:16:59 -0500 (21 months ago) | Author: parrt | Changeset: 2830

made headerFile template have same args as outputFile

2828 annotated / raw | Diffs: previous, other | Lines: 1186 ( +1, -1 )

Created: 2006-07-26 13:07:58 -0500 (21 months ago) | Author: parrt | Changeset: 2828

tweaked

2827 annotated / raw | Diffs: previous, other | Lines: 1186 ( +18, -13 )

Created: 2006-07-26 13:04:22 -0500 (21 months ago) | Author: parrt | Changeset: 2827

made all token ref token types go thru code gen's getTokenTypeAsTargetLabel()

2761 annotated / raw | Diffs: previous, other | Lines: 1181 ( +27, -8 )

Created: 2006-07-03 18:18:53 -0500 (22 months ago) | Author: parrt | Changeset: 2761

added auto-backtrack, some bug fixes

2735 annotated / raw | Diffs: previous, other | Lines: 1162 ( +45, -18 )

Created: 2006-06-24 18:10:10 -0500 (22 months ago) | Author: parrt | Changeset: 2735

cleaned up code gen for syn preds; updated unit tests

2715 annotated / raw | Diffs: previous, other | Lines: 1135 ( +1, -1 )

Created: 2006-06-14 17:29:38 -0500 (23 months ago) | Author: parrt | Changeset: 2715

set copyright date to 2005-2006

2708 annotated / raw | Diffs: previous, other | Lines: 1135 ( +2, -0 )

Created: 2006-06-14 14:32:41 -0500 (23 months ago) | Author: parrt | Changeset: 2708

-> ($rulelabel)? didn't generate proper code for ASTs.

2705 annotated / raw | Diffs: previous, other | Lines: 1133 ( +8, -0 )

Created: 2006-06-13 19:01:59 -0500 (23 months ago) | Author: parrt | Changeset: 2705

Fix bug in LOOK and make ^(R ID?) parse properly

2684 annotated / raw | Diffs: previous, other | Lines: 1125 ( +12, -12 )

Created: 2006-06-09 18:55:38 -0500 (23 months ago) | Author: parrt | Changeset: 2684

completely rebuilt the action translation

2576 annotated / raw | Diffs: previous, other | Lines: 1125 ( +6, -5 )

Created: 2006-05-17 19:54:46 -0500 (23 months ago) | Author: parrt | Changeset: 2576

fixed bug in Target; computing 'x' char. args are now lists in atom/rewrite_atom in codegen.g

2568 annotated / raw | Diffs: previous, other | Lines: 1124 ( +8, -31 )

Created: 2006-05-16 20:27:03 -0500 (23 months ago) | Author: parrt | Changeset: 2568

got unicode really working, fixed unescaped grammar descriptions in output

2555 annotated / raw | Diffs: previous, other | Lines: 1147 ( +2, -2 )

Created: 2006-05-13 21:16:40 -0500 (2 years ago) | Author: parrt | Changeset: 2555

fixed bug concerning args tree strcture for rules

2521 annotated / raw | Diffs: previous, other | Lines: 1147 ( +42, -3 )

Created: 2006-05-07 13:29:40 -0500 (2 years ago) | Author: parrt | Changeset: 2521

missing location events in rewrite trees.

2515 annotated / raw | Diffs: previous, other | Lines: 1108 ( +6, -2 )

Created: 2006-05-04 21:13:45 -0500 (2 years ago) | Author: parrt | Changeset: 2515

big tree update

2499 annotated / raw | Diffs: previous, other | Lines: 1104 ( +9, -1 )

Created: 2006-04-28 13:39:18 -0500 (2 years ago) | Author: parrt | Changeset: 2499

tree rewrites now gen location debug events.

2454 annotated / raw | Diffs: previous, other | Lines: 1096 ( +2, -1 )

Created: 2006-03-14 19:36:51 -0600 (2 years 2 months ago) | Author: parrt | Changeset: 2454

added backtrack gate on finally action; %{actions} translated now

2265 annotated / raw | Diffs: previous, other | Lines: 1095 ( +2, -4 )

Created: 2006-01-16 19:38:13 -0600 (2 years 3 months ago) | Author: parrt | Changeset: 2265

backtracking in the lexer

2252 annotated / raw | Diffs: previous, other | Lines: 1097 ( +8, -4 )

Created: 2006-01-14 17:07:15 -0600 (2 years 3 months ago) | Author: parrt | Changeset: 2252

added more ST % shortcuts

2222 annotated / raw | Diffs: previous, other | Lines: 1093 ( +3, -0 )

Created: 2006-01-02 21:26:17 -0600 (2 years 4 months ago) | Author: parrt | Changeset: 2222

got template ctors in there

2215 annotated / raw | Diffs: previous, other | Lines: 1090 ( +12, -7 )

Created: 2005-12-31 19:49:43 -0600 (2 years 4 months ago) | Author: parrt | Changeset: 2215

got EOF working

2211 annotated / raw | Diffs: previous, other | Lines: 1085 ( +1, -1 )

Created: 2005-12-31 15:31:32 -0600 (2 years 4 months ago) | Author: parrt | Changeset: 2211

big changes; sent to antlr-dev list

2188 annotated / raw | Diffs: previous, other | Lines: 1085 ( +52, -33 )

Created: 2005-12-22 18:55:11 -0600 (2 years 4 months ago) | Author: parrt | Changeset: 2188

added basic exceptions to rules (not lexer rules yet)

2159 annotated / raw | Diffs: previous, other | Lines: 1066 ( +11, -11 )

Created: 2005-12-19 19:18:21 -0600 (2 years 4 months ago) | Author: parrt | Changeset: 2159

refactored codegen.g and fixed bad rule ref text property

2126 annotated / raw | Diffs: previous, other | Lines: 1066 ( +3, -1 )

Created: 2005-12-10 15:22:27 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2126

cleaned up synpreds more; refactored BaseRecognizer, etc...

2125 annotated / raw | Diffs: previous, other | Lines: 1064 ( +2, -2 )

Created: 2005-12-10 12:29:26 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2125

redid examples to be '...' not "..."; fixed bug in -> "..." template

2100 annotated / raw | Diffs: previous, other | Lines: 1064 ( +2, -0 )

Created: 2005-12-04 16:12:58 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2100

added memoization for rules and unit tests for syn preds

2094 annotated / raw | Diffs: previous, other | Lines: 1062 ( +1, -1 )

Created: 2005-12-01 18:29:53 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2094

added gated predicates!

2088 annotated / raw | Diffs: previous, other | Lines: 1062 ( +2, -2 )

Created: 2005-11-30 13:43:11 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2088

fixed bug in acyclic DFA code generation related to predicates used at EOT state

2087 annotated / raw | Diffs: previous, other | Lines: 1062 ( +2, -2 )

Created: 2005-11-29 20:36:43 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2087

fixed TOKEN_RULE bug

2073 annotated / raw | Diffs: previous, other | Lines: 1062 ( +16, -10 )

Created: 2005-11-26 16:39:31 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2073

changed 'x' char literal to "x" and changed all tests and examples.

2072 annotated / raw | Diffs: previous, other | Lines: 1056 ( +10, -10 )

Created: 2005-11-25 19:47:39 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2072

big change; new @scope::name {...} action facility; unit tests and examples changed

2056 annotated / raw | Diffs: previous, other | Lines: 1056 ( +3, -1 )

Created: 2005-11-23 13:13:22 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2056

lots of fixes for templates

2053 annotated / raw | Diffs: previous, other | Lines: 1054 ( +5, -2 )

Created: 2005-11-20 17:50:28 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2053

added some unit tests, fixed a  few issues with the implementation

2052 annotated / raw | Diffs: previous, other | Lines: 1051 ( +95, -19 )

Created: 2005-11-20 16:11:14 -0600 (2 years 5 months ago) | Author: parrt | Changeset: 2052

integrated StringTemplate; fixed bugs related to predicate/action descriptions in output code.

2017 annotated / raw | Diffs: previous, other | Lines: 975 ( +3, -3 )

Created: 2005-11-12 21:46:38 -0600 (2 years 6 months ago) | Author: parrt | Changeset: 2017

more refactoring of templates

2016 annotated / raw | Diffs: previous, other | Lines: 975 ( +3, -3 )

Created: 2005-11-12 20:06:25 -0600 (2 years 6 months ago) | Author: parrt | Changeset: 2016

       separated out dbg and  asnow I think

1968 annotated / raw | Diffs: previous, other | Lines: 975 ( +2, -2 )

Created: 2005-10-27 17:05:12 -0500 (2 years 6 months ago) | Author: parrt | Changeset: 1968

added arg to char translation stuff

1902 annotated / raw | Diffs: previous, other | Lines: 975 ( +1, -1 )

Created: 2005-09-30 22:24:11 -0500 (2 years 7 months ago) | Author: parrt | Changeset: 1902

oops; my empty rule detected was broken.

1901 annotated / raw | Diffs: previous, other | Lines: 975 ( +4, -1 )

Created: 2005-09-30 22:05:11 -0500 (2 years 7 months ago) | Author: parrt | Changeset: 1901

fixed empty rule code gen bug

1893 annotated / raw | Diffs: previous, other | Lines: 972 ( +5, -1 )

Created: 2005-09-23 22:20:50 -0500 (2 years 7 months ago) | Author: parrt | Changeset: 1893

got validating predicates to work; added a unit test.  Added FailedPredicateException (updated display error mechanism in lexer/parser)

1890 annotated / raw | Diffs: previous, other | Lines: 968 ( +5, -3 )

Created: 2005-09-23 17:13:52 -0500 (2 years 7 months ago) | Author: parrt | Changeset: 1890

lots of little unit test fixes and a few bug fixes

1868 annotated / raw | Diffs: previous, other | Lines: 966 ( +3, -29 )

Created: 2005-07-12 18:22:35 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1868

cleaned up code gen templates using new first(), rest() StringTemplate operators.

1861 annotated / raw | Diffs: previous, other | Lines: 992 ( +2, -2 )

Created: 2005-07-09 20:10:35 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1861

tiny bit of cleanup

1851 annotated / raw | Diffs: previous, other | Lines: 992 ( +9, -7 )

Created: 2005-07-04 17:51:25 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1851

major reorg of how literals are dealt with.

1840 annotated / raw | Diffs: previous, other | Lines: 990 ( +21, -3 )

Created: 2005-06-28 15:47:35 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1840

got more tree parsing stuff going; added some unit tests; some refactoring

1835 annotated / raw | Diffs: previous, other | Lines: 972 ( +8, -50 )

Created: 2005-06-26 17:53:38 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1835

got <<...>> working as template argument value assignment now

1832 annotated / raw | Diffs: previous, other | Lines: 1014 ( +8, -2 )

Created: 2005-06-25 17:01:24 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1832

Got basic tree parsing for ^(ID INT) working :)

1831 annotated / raw | Diffs: previous, other | Lines: 1008 ( +6, -2 )

Created: 2005-06-25 15:59:53 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1831

basic tree parser (flat lists only) works!

1825 annotated / raw | Diffs: previous, other | Lines: 1004 ( +7, -7 )

Created: 2005-06-24 14:28:41 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1825

forgot to remove actions when printing descriptions

1818 annotated / raw | Diffs: previous, other | Lines: 1004 ( +598, -63 )

Created: 2005-06-22 21:08:48 -0500 (2 years 10 months ago) | Author: parrt | Changeset: 1818

merging trees-v3 branch back to main line

1755 annotated / raw | Diffs: previous, other | Lines: 469 ( +7, -1 )

Created: 2005-05-31 20:06:15 -0500 (2 years 11 months ago) | Author: parrt | Changeset: 1755

fixed ('a'|'b') bug in parser (not lexer)

1749 annotated / raw | Diffs: previous, other | Lines: 463 ( +1, -1 )

Created: 2005-05-30 17:16:18 -0500 (2 years 11 months ago) | Author: parrt | Changeset: 1749

updated all the licenses

1726 annotated / raw | Diffs: previous, other | Lines: 463 ( +1, -1 )

Created: 2005-05-23 20:47:53 -0500 (2 years 11 months ago) | Author: parrt | Changeset: 1726

removed redundant max lookahead computation

1722 annotated / raw | Diffs: previous, other | Lines: 463 ( +0, -3 )

Created: 2005-05-23 14:47:34 -0500 (2 years 11 months ago) | Author: klaren | Changeset: 1722

Shut up eclipse about loads of unused imports.

1684 annotated / raw | Diffs: previous, other | Lines: 466 ( +7, -2 )

Created: 2005-05-09 18:31:45 -0500 (3 years ago) | Author: parrt | Changeset: 1684

got rule/token arguments to work; lots of unit tests

1682 annotated / raw | Diffs: previous, other | Lines: 461 ( +5, -4 )

Created: 2005-05-06 19:20:00 -0500 (3 years ago) | Author: parrt | Changeset: 1682

got $ID and $expr working; some refactoring

1681 annotated / raw | Diffs: previous, other | Lines: 460 ( +39, -6 )

Created: 2005-05-05 19:26:30 -0500 (3 years ago) | Author: parrt | Changeset: 1681

refactored the labels stuff again; more unit tests; added += labels

1677 annotated / raw | Diffs: previous, other | Lines: 427 ( +1, -1 )

Created: 2005-05-04 15:49:45 -0500 (3 years ago) | Author: parrt | Changeset: 1677

more error checking, refactoring, name space stuff

1667 annotated / raw | Diffs: previous, other | Lines: 427 ( +3, -3 )

Created: 2005-04-30 19:19:16 -0500 (3 years ago) | Author: parrt | Changeset: 1667

rebuilt action translation system; added more error messages

1646 annotated / raw | Diffs: previous, other | Lines: 427 ( +8, -1 )

Created: 2005-04-23 19:33:29 -0500 (3 years ago) | Author: parrt | Changeset: 1646

big fix to error recovery stuff, making it generate events properly

1622 annotated / raw | Diffs: previous, other | Lines: 420 ( +1, -42 )

Created: 2005-04-08 19:51:07 -0500 (3 years 1 month ago) | Author: parrt | Changeset: 1622

refactored to remove bytecode gen stuff

1578 annotated / raw | Diffs: previous, other | Lines: 461 ( +2, -18 )

Created: 2005-03-24 20:11:09 -0600 (3 years 1 month ago) | Author: parrt | Changeset: 1578

got cyclic DFA preds in methods of parser; factored out input.LA calls for if-then-else structures

1566 annotated / raw | Diffs: previous, other | Lines: 477 ( +83, -69 )

Created: 2005-03-22 14:47:09 -0600 (3 years 1 month ago) | Author: parrt | Changeset: 1566

got dbg.location() calls in front of all elements; added default trace functionality for -debug

1565 annotated / raw | Diffs: previous, other | Lines: 463 ( +1, -12 )

Created: 2005-03-21 20:19:41 -0600 (3 years 1 month ago) | Author: parrt | Changeset: 1565

lots of work on the debug interface; added support in runtime and code gen

1538 annotated / raw | Diffs: previous, other | Lines: 474 ( +2, -2 )

Created: 2005-02-19 18:34:50 -0600 (3 years 2 months ago) | Author: parrt | Changeset: 1538

refactored code generator and added switch-based decisions

1537 annotated / raw | Diffs: previous, other | Lines: 474 ( +8, -5 )

Created: 2005-02-16 16:50:01 -0600 (3 years 2 months ago) | Author: parrt | Changeset: 1537

cleaned up the antlr to target literal stuff.

1527 annotated / raw | Diffs: previous, other | Lines: 471 ( +0, -0 )

Created: 2005-02-05 20:30:18 -0600 (3 years 3 months ago) | Author: parrt | Changeset: 1527

got lots more done on the decision probe

1404 annotated / raw | Diffs: previous, other | Lines: 471 ( +19, -6 )

Created: 2005-01-04 21:07:21 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1404

got static attr working properly and got token labels going

1397 annotated / raw | Diffs: previous, other | Lines: 458 ( +14, -3 )

Created: 2005-01-03 20:27:09 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1397

got @x.y references working in actions

1391 annotated / raw | Diffs: previous, other | Lines: 447 ( +16, -2 )

Created: 2005-01-02 20:15:58 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1391

got an excellent start on attributes.  It parses and generates declarations

1377 annotated / raw | Diffs: previous, other | Lines: 433 ( +12, -2 )

Created: 2004-12-29 20:31:54 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1377

no comment

1367 annotated / raw | Diffs: previous, other | Lines: 423 ( +1, -0 )

Created: 2004-12-28 21:07:53 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1367

added new optimization for pruning exit branches; improved error recovery for mismatched token; optimization also allows errors to be caught where it is more appropriate

1366 annotated / raw | Diffs: previous, other | Lines: 422 ( +1, -1 )

Created: 2004-12-28 16:33:26 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1366

made ASTs in NFAs point to root of EBNF blocks such as OPTIONAL not the BLOCK node

1359 annotated / raw | Diffs: previous, other | Lines: 422 ( +25, -15 )

Created: 2004-12-27 17:42:09 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1359

got much better "local follow" error recovery going; optimizations off at the moment, but might work

1351 annotated / raw | Diffs: previous, other | Lines: 412 ( +0, -0 )

Created: 2004-12-24 14:51:35 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1351

cleaned up the error handling a lot

1350 annotated / raw | Diffs: previous, other | Lines: 412 ( +8, -8 )

Created: 2004-12-23 17:56:04 -0600 (3 years 4 months ago) | Author: parrt | Changeset: 1350

lots more conversion of method accessors to fields

1300 annotated / raw | Diffs: previous, other | Lines: 412 ( +5, -3 )

Created: 2004-12-04 16:11:34 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1300

got java.g parser going partially; error in analysis I think

1299 annotated / raw | Diffs: previous, other | Lines: 410 ( +8, -4 )

Created: 2004-12-04 00:07:11 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1299

got DFA's and such good enough to handle Java's lexer!

1295 annotated / raw | Diffs: previous, other | Lines: 406 ( +31, -17 )

Created: 2004-12-01 19:54:07 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1295

got merged grammars going; fixed nasty bug in branch computation in assembler for forward refs.

1286 annotated / raw | Diffs: previous, other | Lines: 392 ( +70, -18 )

Created: 2004-11-29 21:22:39 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1286

refactored antlr frontend to have parser->AST, assign types, define rules, buildnfa, code gen phases.  Passes tests but lots of debug code in there and doesn't handle java.g yet

1283 annotated / raw | Diffs: previous, other | Lines: 340 ( +7, -2 )

Created: 2004-11-27 18:35:59 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1283

made some progress on error messages, but having trouble with merged parsers/lexers

1266 annotated / raw | Diffs: previous, other | Lines: 335 ( +11, -2 )

Created: 2004-11-19 11:33:57 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1266

got merged lexer/parser specs to work :)

1265 annotated / raw | Diffs: previous, other | Lines: 326 ( +16, -0 )

Created: 2004-11-18 11:12:28 -0600 (3 years 5 months ago) | Author: parrt | Changeset: 1265

got lexing/parsing interp going well; added ${...} interp.

1246 annotated / raw | Diffs: previous, other | Lines: 310 ( +4, -7 )

Created: 2004-11-06 18:18:36 -0600 (3 years 6 months ago) | Author: parrt | Changeset: 1246

redid lexer ala conversation with mitchell; very simple :)

1244 annotated / raw | Diffs: previous, other | Lines: 313 ( +27, -10 )

Created: 2004-11-04 14:36:53 -0600 (3 years 6 months ago) | Author: parrt | Changeset: 1244

updated the code generator to have "targets"; cleaned up a bit.

1231 annotated / raw | Diffs: previous, other | Lines: 296 ( +11, -4 )

Created: 2004-10-21 18:12:41 -0500 (3 years 6 months ago) | Author: parrt | Changeset: 1231

update

1225 new annotated / raw | Lines: 289 ( +289, -0 )

Created: 2004-