[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/581690.581699acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
Article

Techniques for embedding postfix languages in Haskell

Published: 03 October 2002 Publication History

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.

References

[1]
Henry G. Baker. Linear logic and permutation stackts---the Forth shall be first. Computer Architecture News, 22(1):34-43, March 1994.]]
[2]
Per Bjesse, Koen Claessen, Mary Sheeran, and Satnam Singh. Lava: Hardware design in Haskell. In ACM SIGPLAN International Conference on Functional Programming, pages 174-184, September 1998.]]
[3]
Olivier Danvy. Functional unparsing. Journal of Functional Programming, 8(6):621-625, November 1998.]]
[4]
Conal Elliott and Paul Hudak. Functional reactive animation. In ACM SIGPLAN International Conference on Functional Programming, pages 263-273, June 1997.]]
[5]
Levent Erkök and John Launchbury. Recursive monadic bindings. In ACM SIGPLAN International Conference on Functional Programming, pages 174-185, September 2000.]]
[6]
Paul Hudak, Tom Makucevich, Syam Gadde, and Bo Whong. Haskore music notation - an algebra of music. Journal of Functional Programming, 6(3):465-483, May 1996.]]
[7]
Graham Hutton. Higher-order functions for parsing. Journal of Functional Programming, 2(3):323-343, July 1992.]]
[8]
Gregory F. Johnson. GL---a denotational testbed with continuations and partial continuations as first-class objects. In Symposium on Interpreters and Interpretive Techniques, pages 165-176, June 1987.]]
[9]
Philip Koopman and Peter Lee. A fresh look at combinator graph reduction. In ACM SIGPLAN Conference on Programming Language Design and Implementation, pages 110-119, June 1989.]]
[10]
Chris Okasaki. Flattening combinators: Surviving without parentheses. Journal of Functional Programming, 2002. To appear.]]
[11]
John Peterson, Paul Hudak, and Conal Elliott. Lambda in motion: Controlling robots with Haskell. In Practical Aspects of Declarative Languages, pages 91-105, January 1999.]]
[12]
Manfred von Thun. Joy: Forth's functional cousin. In Euro-Forth, 2001.]]

Cited By

View all

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
Haskell '02: Proceedings of the 2002 ACM SIGPLAN workshop on Haskell
October 2002
118 pages
ISBN:1581136056
DOI:10.1145/581690
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 03 October 2002

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Haskell
  2. domain-specific embedded languages
  3. postfix notation

Qualifiers

  • Article

Conference

HW02
Sponsor:

Acceptance Rates

Haskell '02 Paper Acceptance Rate 9 of 24 submissions, 38%;
Overall Acceptance Rate 57 of 143 submissions, 40%

Upcoming Conference

ICFP '25
ACM SIGPLAN International Conference on Functional Programming
October 12 - 18, 2025
Singapore , Singapore

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 25 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media