Writing DSL in Python
apgwoz: Study up on context managers, decorators, and meta-classes, which will assist in creating DSLs. However, you don't really need to use these features to build DSLs.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.