News for hackers. Stuff that matters.
Re:Ask HN: Writing DSL in Python by cabalamat on Friday December 19, 2008 @04:11PM (#403851)
> Study up on context managers, decorators, and meta-classes, which will be vital to creating DSLs. However, you don't really need to use these features to build DSLs.

Make your mind up. Either they're vital or they're not. You can't have both.

Re:Ask HN: Writing DSL in Python by apgwoz on Friday December 19, 2008 @04:20PM (#403863)
No. I won't make my mind up. I'm not providing a recipe for DSLs in Python. I'm simply stating ingredients and saying "now go create."
Re:Ask HN: Writing DSL in Python by petercooper on Friday December 19, 2008 @11:03PM (#404241)
I think he/she was more criticizing that you effectively said "X, Y and Z are vital" and then "But X, Y and Z are not vital."

If you'd said "useful" instead of "vital" it'd have been fine logically, but "vital" implies necessity.

Re:Ask HN: Writing DSL in Python by apgwoz on Saturday December 20, 2008 @10:41AM (#404572)
Yeah. I ended up editing the original post when I realized it later.