/explore
|
You are here |
dusty.phillips.codes | ||
| | | | |
blog.scottlogic.com
Have you ever wanted to write your own compiler? ... yes? ... of course you have! I've always wanted to have a go at writing a compiler, and with the recent release of WebAssembly, I had the perfect excuse to have a go. |
|
| | | | | ||
| | | | |
patshaughnessy.net
[AI summary] The article explains how the Crystal compiler parses code by breaking it down into tokens and constructing an abstract syntax tree (AST), highlighting the recursive process and the challenges of reading code one token at a time. |
|
| | | | | ||
| | | | |
www.yoseph.tech
This week I am talking about the parts of the compiler, doing a deep dive into the Lexer and Parser and showing how to build the Lexer and Parser in Python. At the end of this post, we should have a working lexer and parser. |
|
| | | | | ||
| | | | |
andreabergia.com
I usually write parsers by starting from a grammar and either coding a lexer/parser by hand or relying on tools such as the fantastic Antlr. However, a friend recently introduced me to parser combinators, which I found to be very interesting and useful. It's not a recent idea, but it was new to me, and I have found it to be very interesting and useful. |
|
| | | |||