Directory groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr/

Directory Created:
2004-12-28 16:25
Directory Deleted:
2005-03-01 16:42
Total Files:
0
Deleted Files:
8
Lines of Code:
0

Browse with ViewVC

[root]/groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr

Lines of Code

groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 141 (100.0%) 7105 (100.0%) 50.3
jez 33 (23.4%) 4469 (62.9%) 135.4
jstrachan 104 (73.8%) 2579 (36.3%) 24.7
phk 4 (2.8%) 57 (0.8%) 14.2

Most Recent Commits

jez 2005-03-01 16:42

* moved JSR antlr parser into groovy-core



* currently these things are broken



- you have to run 'maven clean generate rebuild' in groovy-core (note the generate goal)



- The groovy sources (e.g. Console) need to be migrated to JSR syntax

- The groovy tests need to be moved to testold

- The JSR tests need to be moved from testnew to test



- oh and James, LITERAL_def in AntlrParserPlugin is getting ahead of itself

0 lines of code changed in:

jstrachan 2005-03-01 15:42

a couple of fixes to handle possible new AST

7 lines of code changed in:

phk 2005-02-27 15:20

Support the power operator(**) and the power assign operator(**=) for Classic/New Groovy. Foror example, x = 3**2; assert -x**2 == -81; assert -x**2 == -(x**2); assert x**-1 == 1/x

35 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+35 -28)
phk 2005-02-27 08:13

Support the math power operator ** for New Groovy (for example, assert -3**2 **= -9 ). But the power assignment operator **= is not supported yet.

19 lines of code changed in:

jez 2005-02-25 18:57

* added optional nls to if/while/try/catch/etc before opening curly brace

o these are logged as warnings, available if you call GroovyRecognizer.getWarningList()

48 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+48 -14)
jstrachan 2005-02-25 15:21

fixes for expressions like new <type>[1234]

5 lines of code changed in:

jez 2005-02-25 14:50

* Added ability to declare new Arrays with no initializer

i.e.



def foo = new String[10]

3 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+3 -7)
jez 2005-02-25 13:56

* reintroduced ARRAY_DECLARATOR for built in types (along Studman's original design)

3 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+3 -2)
jez 2005-02-25 11:09

* Added LexerFrame from Santhosh Kumar T



http://www.antlr.org/share/1073493403186/index.html



usage:

java -cp groovyc-0.0.2.jar org.codehaus.groovy.antlr.LexerFrame



then select the groovy source file of your choice.

0 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: LexerFrame.java (new)
jstrachan 2005-02-25 09:54

handled an issue in the AST generation (due to Antlr changes) better and have most of the array coerce tests working now

10 lines of code changed in:

jstrachan 2005-02-24 21:08

Patch to AST generation after Antlr grammar changes

4 lines of code changed in:

jez 2005-02-24 20:35

* Added Mike Spille's suggestion of an AST class for antlr that tracks the line/column information of the original source code



Thanks Mike :-)



* Started amendments to attempt to fix Array Declarators

7 lines of code changed in:

jstrachan 2005-02-24 16:33

Added most of the guts for auto-list and array coercions. Got a few parser glitches when parsing array types; but other than that its looking good

39 lines of code changed in:

jstrachan 2005-02-24 10:29

Fixed a bunch more test cases; it'll be much easier to see the wood for the trees once New Groovy is integrated into groovy-core after beta-10

16 lines of code changed in:

jstrachan 2005-02-24 09:10

Tightened up the constructor parsing some more to catch more typos in the parser

1 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+1 -1)
jez 2005-02-22 23:13

* reverted statement back to previous as it seems to exclude more tests than it fixes.

1 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+1 -1)
jez 2005-02-22 21:09

* revert break/continue/return with no expression, as assignmentExpression doesn't resolve to EMPTY

2 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+2 -4)
jstrachan 2005-02-22 20:18

added support for classic literals

24 lines of code changed in:

jez 2005-02-22 19:59

* reverted arrayTypeOrArgs change for now, as it causes some form of infinite loop

4 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+4 -4)
jez 2005-02-22 18:51

* removed some of the non-determinism

o singleDeclarationNoInit now follows the same pattern as declaration

o arrayOrTypeArgs is now implicitly optional

o clarified closureParameter alternations with syntactic predicates

o removed phk's addition of conditionalExpression to statement, due to conflict

o assignmentExpression is implicitly optional



* moved =~ closer to == in precedence

41 lines of code changed in:

  • groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr: groovy.g (+41 -30)

(94 more)

Generated by StatSVN 0.3.2-SNAPSHOT