https://github.com/dvberkel/luminis-dsl-in-groovy
This project teaches the power of DSL's in Groovy
https://github.com/dvberkel/luminis-dsl-in-groovy
Last synced: 2 months ago
JSON representation
This project teaches the power of DSL's in Groovy
- Host: GitHub
- URL: https://github.com/dvberkel/luminis-dsl-in-groovy
- Owner: dvberkel
- Created: 2011-08-31T12:39:48.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2014-12-25T06:13:08.000Z (over 10 years ago)
- Last Synced: 2025-02-07T23:33:03.295Z (4 months ago)
- Language: Groovy
- Homepage: http://lsd.luminis.eu/domain-specific-languages-in-groovy/
- Size: 141 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DSL in Groovy
=============This project accompanies an article on the
[Luminis Developer blog](http://lsd.luminis.eu/blog/ "The Luminis Corporate Blog").Specifically [Domain Specific Languages in Groovy](http://lsd.luminis.eu/domain-specific-languages-in-groovy/ "DSL in Groovy").
Running a Test
--------------Use the following command to run a test. It is assumped that groovy is installed
and present on the path.groovy -cp src/main/groovy
For example
groovy -cp src/main/groovy src/test/groovy/ProgramBuilderTest.groovy
Directory Structure
-------------------
.
├── README.md
└── src
├── main
│ └── groovy
│ ├── program
│ │ ├── AbstractProgram.groovy
│ │ ├── DoProgram.groovy
│ │ ├── ForwardProgram.groovy
│ │ ├── LeftProgram.groovy
│ │ ├── Program.groovy
│ │ └── RightProgram.groovy
│ ├── ProgramBuilder.groovy
│ └── robot
│ ├── LoggerRobot.groovy
│ └── Robot.groovy
└── test
└── groovy
├── program
│ └── ProgramTest.groovy
├── ProgramBuilderTest.groovy
└── robot
└── LoggerRobotTest.groovy