TWiki . Dev . ParserCombinators

Parser combinators are a functional approach to parsing that uses a combination of functions to define the grammar. Some (like me) find that this leads to a pleasantly natural expression of the parser. Also, it means you can write your parser entirely in the host language (Nice, e.g.) rather than having to learn a new, specialized language for your parser generator.

Haskell examples:

-- BrynKeller - 25 Apr 2003

----- Revision r1.1 - 25 Apr 2003 - 18:44 GMT - BrynKeller
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback.