Behind the scenes of the planning DSL
The article explains how to write class for supporting DSL. Very much inspiring. Must read!!!
If you are curious what DSL is, have a look at Fluent Interface and Domain Specific Language (DSL). Basically, it can be summarized as using human readable/writable language instead of clumsy OOP stuff; for example,
Show.Window.Titled("Foo").With.Button("ok")
instead of
Window w = new Window(); w.title("Foo"); Button b = new Button("ok"); w.add(b);