Directory groovy/groovy-core/src/main/org/codehaus/groovy/interpreter/

Directory Created:
2003-09-11 15:11
Directory Deleted:
2003-11-03 20:59
Total Files:
0
Deleted Files:
4
Lines of Code:
0

Browse with ViewVC

[root]/groovy/groovy-core/src/main/org/codehaus/groovy/interpreter

Lines of Code

groovy/groovy-core/src/main/org/codehaus/groovy/interpreter/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
jstrachan 23 (100.0%) 127 (100.0%) 5.5

Most Recent Commits

jstrachan 2003-11-03 20:59

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:

jstrachan 2003-10-24 13:47

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:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+3 -3)
jstrachan 2003-10-10 16:48

Refactored CompositeString to be called GString :)



Also added a bunch more tests and some initial documentation

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+2 -2)
jstrachan 2003-10-07 19:16

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:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+12)
jstrachan 2003-10-06 05:48

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:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+32 -32)
jstrachan 2003-10-02 19:41

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:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+15)
jstrachan 2003-09-26 18:36

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:

jstrachan 2003-09-26 18:12

refactored code so that groovy.lang is the core package available to groovy scripts which is implicitly imported

2 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+2 -1)
jstrachan 2003-09-24 18:36

added new AST stuff for whenever bob gets chance to wire them into the parser

6 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+6)
jstrachan 2003-09-22 19:50

* 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:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+13)
jstrachan 2003-09-12 18:58

added support for a RegexExpression into the

7 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+7)
jstrachan 2003-09-12 11:52

added support for closures in the

6 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+6)
jstrachan 2003-09-11 20:05

added try / catch / finally to the

6 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+6)
jstrachan 2003-09-11 16:12

added implementation of RangeExpression

18 lines of code changed in:

  • groovy/groovy-core/src/main/org/codehaus/groovy/interpreter: Interpreter.java (+18)
jstrachan 2003-09-11 15:11

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:

Generated by StatSVN 0.3.2-SNAPSHOT