Programs are Just Words: Designing Domain Specific Languages in Ruby

By:
To add a paper, Login.

The presentation will take a look at a few of the Ruby language's features from the perspective of a DSL builder:

* Flexible Syntax - brackets for method calls optional, no whitespace restrictions
* Pure OO - even literals are objects
* Open Classes - monkey patching
* Blocks, Procs & Lambdas - the best parts of functional programming
* Modules & Mixins - sensible namespacing
* Method Missing - pure magic

I'll also cover Liquid & DCSS which are HTML and CSS DSL's with parsers implemented in ruby.


Keywords: Ruby, DSL, Rails, CSS, HTML
Stream: Ruby
Presentation Type: 30 minute Paper Presentation in English
Paper: A paper has not yet been submitted.


Mr. Myles Byrne

Lead Developer, Duck New Media
Sydney, NSW, Australia


Ref: OS6P0072