Hacker News new | past | comments | ask | show | jobs | submit login
Everything Old Is New Again: Quoted Domain Specific Languages [video] (youtube.com)
49 points by poppingtonic on April 2, 2016 | hide | past | favorite | 1 comment



Unfortunately quoted DSLs are limited because any value encoded in one has to be statically known. You can't generate values at runtime. Luckily for the case of SQL generation at least you don't need quotation. Examples from the Haskell world which demonstrate this include Opaleye and HaskellDB. (Disclaimer: I'm the author of Opaleye.)

https://hackage.haskell.org/package/opaleye

https://hackage.haskell.org/package/haskelldb




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: