[root]/groovy/jsr/ideas/parsers/antlr/src/org/codehaus/groovy/antlr
* 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:
a couple of fixes to handle possible new AST
7 lines of code changed in:
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:
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:
* 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:
fixes for expressions like new <type>[1234]
5 lines of code changed in:
* Added ability to declare new Arrays with no initializer
i.e.
def foo = new String[10]
3 lines of code changed in:
* reintroduced ARRAY_DECLARATOR for built in types (along Studman's original design)
3 lines of code changed in:
* 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:
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:
Patch to AST generation after Antlr grammar changes
4 lines of code changed in:
* 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:
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:
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:
Tightened up the constructor parsing some more to catch more typos in the parser
1 lines of code changed in:
* reverted statement back to previous as it seems to exclude more tests than it fixes.
1 lines of code changed in:
* revert break/continue/return with no expression, as assignmentExpression doesn't resolve to EMPTY
2 lines of code changed in:
added support for classic literals
24 lines of code changed in:
* reverted arrayTypeOrArgs change for now, as it causes some form of infinite loop
4 lines of code changed in:
* 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:
(94 more)