Tuesday, July 10, 2007

Applicative Packrat Parser

Copperbox revision 62.

Added the usual combinators (satisfy, char, anyChar, manyof aka many, manyone, literal) to the packrat parser.

PS. I rather suspect I am not handling the recursion properly and the parses backtrack when they shouldn't. This makes them plain backtracking parsers rather packrat parsers.

Blog Archive

About Me

My photo
Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.