3 ms·
One of the first things I programmed when I was a kid was a parser (and calculator) for arithmetic expressions. It was hand coded, in Quick Basic (the interpret
by auggierose 13y ago
One of the first things I programmed when I was a kid was a parser (and calculator) for arithmetic expressions. It was hand coded, in Quick Basic (the interpreter version that came for free with MS DOS), and quite bad code, as I had never before read anything about how to do it. And I had a lot of fun!
Last week (about 22 years later) I programmed a new generator for scannerless context free parsing which takes layout into account, using my own special variant of Earley parsing. And I had a lot of fun!