Open rxwei opened 7 years ago
What would be the input language?
The input language is the same DSL. The idea is based on tagless-final style interpreters and Lightweight Modular Staging. Here’s a paper discussing staged parser combinators built using LMS: https://infoscience.epfl.ch/record/203076/files/p637-jonnalagedda.pdf
Implement a staging back-end code generator / interpreter as a seamless plugin to support the current tagless front-end. Contributions are welcome.