

| |||||||
|
You are here: Root > By Topic > Text Processing > Parser Generators
We review META, a classic technique for building recursive descent parsers, that is both simple and efficient. While META does not handle all possible regular or context-free grammars, it handles a surprisingly large fraction of the grammars encountered by Lisp programmers. We show how META can be used to parse streams, strings and lists--including Common Lisp's hairy lambda expression parameter lists. Finally, we compare the execution time of this parsing method to the built-in methods of Common Lisp.
Document location: http://home.pipeline.com/~hbaker1/Prag-Parse.html
Parser Generators | Code Snippets | English | Regular Expression
You must be logged to add a note
You must be logged to add a comment