|
|
|
|
|
by kronnpp
370 days ago
|
|
I taught in the past and still like the trilogy of books > Modern Compiler Implementation by Andrew W. Appel It comes in three flavors C, ML (Meta Language), and Java https://www.cs.princeton.edu/~appel/modern/ Writing a compiler in Standard ML is as natural as writing a grammar and denotational semantics. Compiler writing is becoming an extinct art. |
|
For more modern folks, one can use the ML version as inspiration for doing the book exercises in OCaml, Haskell, F# or Rust.
Writing compilers for a living, and CS research is a niche domain, not something I would consider an extinct art.