Higher-order functions for parsing
- 1 January 1992
- journal article
- research article
- Published by Cambridge University Press (CUP) in Journal of Functional Programming
- Vol. 2 (3) , 323-343
- https://doi.org/10.1017/s0956796800000411
Abstract
In combinator parsing, the text of parsers resembles BNF notation. We present the basic method, and a number of extensions. We address the special problems presented by white-space, and parsers with separate lexical and syntactic phases. In particular, a combining form for handling the ‘offside rule’ is given. Other extensions to the basic method include an ‘into’ combining form with many useful applications, and a simple means by which combinator parsers can produce more informative error messages.Keywords
This publication has 2 references indexed in Scilit:
- Report on the programming language HaskellACM SIGPLAN Notices, 1992
- The next 700 programming languagesCommunications of the ACM, 1966