Learn how to write a simple compiler
Details
Over about an hour I'm going to try to:
-
Talk a little about compilers and program translation.
-
Explain the basic structure of LLVM and its OCaml bindings.
-
Introduce a little embedded language ("aww ain't it cute?")
-
Compile above language to native code using LLVM
-
Hopefully beat the pants off OCaml's native compiler
I haven't written anything yet, so wish me luck.
