News for hackers. Stuff that matters.
Re:Implementing a JIT Compiled Language with Haskell and LLVM by the_french on Saturday September 12, 2015 @05:13PM (#10209402)
Last semester for a compiler course I was taking we had to implement a compiler for a subset of Go (called GoLite), with free reign over language choices. I chose to implement a compiler[0] using Haskell and LLVM, this article helped a _lot_ when I was writing codegen, especially since it was my first real Haskell project.

However, some of the most interesting and important issues are left out of it. Some examples are implementing exceptions, threading, imports, garbage collection, closures , etc.. I would love a more advanced version of this article that discusses how to implement a more advanced compiler with more modern features (specifically in LLVM).

[0] github.com/xldenis/mgc

There are no comments on this comment yet.