Re:Ask HN: Writing DSL in Python
by russell on Friday December 19, 2008 @04:53PM
(#403901)
apgwoz has a excellent suggestion. Python has a clean syntax, so you may not need to invent your own. Meta-classes allow you to do the DSL magic behind the scenes. It's less fun than inventing a whole new language, but you can get something working in a couple of hours. Even more useful are the mind stretching exercises inherent in understanding meta-classes and their friends. You will see programming in a whole new light.
[ Parent
| on HN ]
There are no comments on this comment yet.