Techniques for embedding postfix languages in Haskell

  • Authors:
  • Chris Okasaki

  • Affiliations:
  • United States Military Academy, West Point, New York

  • Venue:
  • Proceedings of the 2002 ACM SIGPLAN workshop on Haskell
  • Year:
  • 2002

Quantified Score

Hi-index 0.01

Visualization

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.