Conference proceeding
Why it's nice to be quoted: quasiquoting for haskell
Proceedings of the ACM SIGPLAN workshop on Haskell workshop, pp 73-82
30 Sep 2007
Abstract
Quasiquoting allows programmers to use domain specific syntax to construct program fragments. By providing concrete syntax for complex data types, programs become easier to read, easier to write, and easier to reason about and maintain. Haskell is an excellent host language for embedded domain specific languages, and quasiquoting ideally complements the language features that make Haskell perform so well in this area. Unfortunately, until now no Haskell compiler has provided support for quasiquoting. We present an implementation in GHC and demonstrate that by leveraging existing compiler capabilities, building a full quasiquoter requires little more work than writing a parser. Furthermore, we provide a compile-time guarantee that all quasiquoted data is type-correct.
Metrics
Details
- Title
- Why it's nice to be quoted
- Creators
- Geoffrey Mainland - Harvard School of Engineering and Applied Sciences, Cambridge, MAACM
- Publication Details
- Proceedings of the ACM SIGPLAN workshop on Haskell workshop, pp 73-82
- Conference
- ICFP07: ACM SIGPLAN International Conference on Functional Programming (2007)
- Series
- ACM Conferences
- Publisher
- ACM
- Resource Type
- Conference proceeding
- Language
- English
- Academic Unit
- Computer Science (Computing)
- Web of Science ID
- WOS:000266972300007
- Scopus ID
- 2-s2.0-38849106746
- Other Identifier
- 991021868724304721
InCites Highlights
Data related to this publication, from InCites Benchmarking & Analytics tool:
- Web of Science research areas
- Computer Science, Software Engineering