201 private links
A partial lisp-implementation in Rust.
I’m a bit biased, but IMHO writing a minimal lisp interpreter is a great project to learn a great variety of features of any programming language.
Another small compiler to add, substract, multiply and divide numbers
A backend compiler and an alternative of LLVM
Compilers are pipelines with a serie of step. Each step transform the input and provides data to the next.
Each step has then a contract with the input provided and its output 😃
The author goes in depth.
We can completely segment one component of the compiler from another by having the right form of data structure in between them. To build that data structure, you don’t need to know anything that happens to it afterwards, you just need to know what it means.
How to parse a programming language with typescript: here a small but working example
A course to create a compiler. It starts from the basic.
Going down into the mechanics with interesting stuff indeed.
and an overview to compiler (AST) part is built.
An error is directly inserted in the AST !