Frozen Perl 2011: Parallel::Depend: designing a little language in Perl
Lembark's second talk is basically about designing a little language in Perl.
This module is a scheduler.
When designing a language it should be easy to edit, eyeball and parse.
It is a good idea to have line oriented and whitespace oriented tokens.
One should consider the primitives, basically what are the tasks you want to do.
Taking advantage of the overlooking ability of capturing split for grabbing tokens.
The given/when switch makes writing small languages much easier.
Once again a very good talk about an area that many people wouldn't have to do.
Leave a comment