Hey Hackers,
I was reading this blog article http://weblog.jamisbuck.org/2006/4/20/writing-domain-specific-languages
and I've no idea how can one go about writing a DSL in Python. I've rudimentary knowledge of Python and I'm interesting in writing a DSL just for fun and knowledge. Can anyone please point out what do I need to learn to be able to write a DSL in Python? Any help is appreciated.
The use of method chaining (think jQuery) can lead to interesting languages.
Or, take Django's chaining for making queries. User.objects.filter(first_name='Andrew').order_by('last_name')
Or, you can get more complicated and do something like described at: http://code.activestate.com/recipes/534150/
EDIT: s/be vital/assist/ on line 1.