ABSTRACT
diagrams is a domain-specific language for creating vector graphics. We will give a short diagrams tutorial/demo, particularly highlighting the power of a functional, embedded domain-specific language.
- Michael Burrows and David J Wheeler. A block-sorting lossless data compression algorithm. Technical Report 124, Digital Equipment Corporation, 1994.Google Scholar
- David Hilbert. Über die stetige Abbildung einer Linie auf ein Flächenstück. Mathematische Annalen, 38(3):459–460, 1891.Google ScholarCross Ref
- Paul Hudak. Building domain-specific embedded languages. ACM Computing Surveys (CSUR), 28(4es):196, 1996. Google ScholarDigital Library
- Simon Marlow. Haskell 2010 Language Report. https://www.haskell. org/onlinereport/haskell2010/, 2010.Google Scholar
- Dan Piponi and Brent A Yorgey. Polynomial functors constrained by regular expressions. In Proceedings of the Mathematics of Program Construction, 2015.Google ScholarCross Ref
- Brent A Yorgey. Monoids: theme and variations (functional pearl). In ACM SIGPLAN Notices, volume 47, pages 105–116. ACM, 2012. Google ScholarDigital Library
Index Terms
- Diagrams: a functional EDSL for vector graphics
Recommendations
Rewriting a shallow DSL using a GHC compiler extension
GPCE 2017: Proceedings of the 16th ACM SIGPLAN International Conference on Generative Programming: Concepts and ExperiencesEmbedded Domain Specific Languages are a powerful tool for developing customized languages to fit specific problem domains. Shallow EDSLs allow a programmer to program using many of the features of a host language and its syntax, but sacrifice ...
Rewriting a shallow DSL using a GHC compiler extension
GPCE '17Embedded Domain Specific Languages are a powerful tool for developing customized languages to fit specific problem domains. Shallow EDSLs allow a programmer to program using many of the features of a host language and its syntax, but sacrifice ...
Layout-sensitive language extensibility with SugarHaskell
Haskell '12: Proceedings of the 2012 Haskell SymposiumProgrammers need convenient syntax to write elegant and concise programs. Consequently, the Haskell standard provides syntactic sugar for some scenarios (e.g., do notation for monadic code), authors of Haskell compilers provide syntactic sugar for more ...
Comments