Lexing III: Nested power! | Oct 04, 2015 |
We have described the readtable-macro parsing mechanism of our lexer. We now illustrate the power and elegance of a recursive-descent design. | |
Lexing II: readtable–macro parsing | Aug 30, 2015 |
Lisp’s readtable-macro parsing mechanism, mixed with the parsing-via-coroutines mechanism presented earlier, is an ideal mechanism for lexical analysis: powerful, flexible, easily extensible, and sufficiently fast. | |
Lexing I: the off-side rule | Aug 02, 2015 |
The idea of grouping blocks of instructions by using indentation — the off-side rule — is a powerful way of denoting program structure. We generalize it slighly, in a way that is suitable for embedding in a readtable-macro parser. | |
Subscribe via RSS |