2
Try to create a DSL for a finite state machine.
Inspired by Chris vanBuskirk version on this site and the Ruby article at
http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html
Inspired by Chris vanBuskirk version on this site and the Ruby article at
http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html
2
A possible implementation of the Sieve of Eratosthenes for generating prime numbers below some limit.
5
Generate prime numbers blow some limit using the Sieve of Eratosthenes algorithm. This snippet uses some object abstractions to simplify the algorithm.
5
Generate prime numbers below some limit. This snippet uses groovy categories to locate the appropriate methods in common classes.
2
Generate prime numbers below some limit. This snippet incorporates some DSL like keywords to describe the prime algorithm.
2
The tests for the Sieve of Eratosthenes snippets.
5
SQL-like DSL for finding classes and methods
10
Sudoku solver in Groovy.
7
This example shows a build script written in Groovy using the AntBuilder.
No more angle bracket to bother you!
No more angle bracket to bother you!
6
Using a JGroups ReplicatedHashtable from Groovy









