Navigation Home / Tags / dsl

ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

3
Date Submitted Thu. Apr. 12th, 2007 1:42 PM
Revision 1
Helper esumerfd
Tags dsl | FSM | groovy | Machines | State
Comments 1 comments
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
2
Date Submitted Thu. Apr. 12th, 2007 11:23 AM
Revision 1
Beginner vbuskirk
Tags dsl | FSM | groovy | Machines | State
Comments 1 comments
/**
* GOAL: Write a quick-and-dirty DSL in Groovy that emulates Bruce Tate's
* example "acts_as_statemachine" Ruby code at
* http://www-128.ibm.com/developerworks/java/library/j-cb03137/index.html,
* within 20 minutes or less (i.e. steer clear of MOP-magic engineering ;).
*
* For more context, see the Apr'07 "Symbols" thread on the groovy-user mailing
* list.
*/
2
Date Submitted Sun. Mar. 4th, 2007 12:53 PM
Revision 1
Helper BerndSchiffer
Tags dsl | groovy | properties
Comments 0 comments
This is an example from practice. The domain is a whater flow messure system. I wrote a blog entry where I fully described the evolution of this class - in german.
6
Date Submitted Tue. Oct. 17th, 2006 3:00 PM
Revision 1
Helper glaforge
Tags dsl | groovy
Comments 0 comments
SQL-like DSL for finding classes and methods