3 ms·
"syntax-driven development" Interesting methodology I'd never considered. Great read, thanks for posting.
by sant0sk1 18y ago
"syntax-driven development"
Interesting methodology I'd never considered. Great read, thanks for posting.
- Xichekolas 18y agoI have often tried to make DSLs for projects, but I have generally always tried to design the DSL from the start... I had (sadly) never considered just writing as if your DSL already existed, then go back and actually implement it. This is great, because what you write initially is basically what you need to implement your DSL via TDD. In this case the code written in the DSL represents your unit tests for the code implementing the DSL. Now I just need a project I can try this on. Not sure why I never tried it that way before. Seems like a much better approach than 'designing' a DSL in a top-down manner.
- raganwald 18y agohttp://www.infoq.com/presentations/agile-dsl-development-in-ruby http://www.infoq.com/presentations/agile-dsl-development-in-...