I had heard about cl-peg, but not Esrap. Most of the time I can get away with the space requirements need by both parser combinators and and pack-rat parsers, but there are some large documents where that isn't practical.
One thing I would like to eventually see is a mature library that can take a spec like a PEG and generate different types of parsers for it.
Matt On 02/04/2011 09:20 AM, Nikodemus Siivola wrote:
On 4 February 2011 16:39, Paul Tarvydas paul.tarvydas@rogers.com wrote:
The relatively new PEG packrat parser technologies make it possible to use just one universal description for, both, scanning and parsing. I see that cl-peg exists, but I haven't tried it out.
Esrap is another packrat parser for CL:
https://github.com/nikodemus/esrap I had to parse some semi-structured text and wrote Esrap for that. Its primary limitations are lacking support for parsing from streams (it wants a string) and very little documentation.
Cheers,
-- Nikodemus
pro mailing list pro@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/pro