Techniques for embedding postfix languages in Haskell

Date
2002-10-03
Journal Title
Journal ISSN
Volume Title
Publisher
ACM
Abstract
One popular use for Haskell in recent years has been as a host language for domain-specific embedded languages. But how can one embed a postfix language in Haskell, given that Haskell only supports prefix and infix syntax? This paper describes several such embeddings for increasingly complex postfix languages.
Description
Keywords
General programming languages, Software notations and tools
Citation
Chris Okasaki. 2002. Techniques for embedding postfix languages in Haskell. In Proceedings of the 2002 ACM SIGPLAN workshop on Haskell (Haskell '02). Association for Computing Machinery, New York, NY, USA, 105–113. https://doi.org/10.1145/581690.581699