[root]/groovy/groovy-core/src/main/org/codehaus/groovy/interpreter
Deleted the old & dead interpreter (we can now use GroovyShell as an interpreter instead) and added the swiitch statement to the AST
0 lines of code changed in:
Numerous changes.
* tidied up the closure methods - added many new helper methods such as for iterating over files by line
* added a Swing builder together with some MVC models to make creating Swing UIs in Groovy really simple
* various things tidied up and more unit test cases
* return statement is now optional
3 lines of code changed in:
Refactored CompositeString to be called GString :)
Also added a bunch more tests and some initial documentation
2 lines of code changed in:
Added the AST and initial bytecode generation code (untested so far!) for the composite string feature.
So "hello ${user} there" will map to a class for each String which will have static text per class but have instance-data values set at runtime.
This then creates a groovy.lang.CompositeString at runtime which can be introspected if required or just toString() called
12 lines of code changed in:
Fairly large refactoring - the statements and expressions are now all named properly to make bob happier and have been refactored into sub packages to make it easier to see whats going on.
I hope this doesn't cause any merge conflicts for you bob
32 lines of code changed in:
Added support for field initialisation and for each generated class to implement GroovyObject.
Also each GroovyObject has a reference to its MetaClass
15 lines of code changed in:
Moved the GroovyTestCase into the core groovy.lang package (since the primary use case for Groovy to start with is writing unit test cases). We could move this to groovy.test later on maybe.
Also I've updated the copyright notice to be to myself and bob
3 lines of code changed in:
refactored code so that groovy.lang is the core package available to groovy scripts which is implicitly imported
2 lines of code changed in:
added new AST stuff for whenever bob gets chance to wire them into the parser
6 lines of code changed in:
* various fixes for static fields and static method invocations
* also added the ClassExpression used to access static properties / fields / methods
* various other fixes along the way and some new unit test cases
* a new unit test case which compiles Groovy code which is handy for testing stuff inside eclipse
13 lines of code changed in:
added support for a RegexExpression into the
7 lines of code changed in:
added support for closures in the
6 lines of code changed in:
added try / catch / finally to the
6 lines of code changed in:
added implementation of RangeExpression
18 lines of code changed in:
refactored the source tree to make things a little cleaner.
now have the more normal src/main and src/test trees
2 lines of code changed in: