I think I must have overlooked this site before. How could I live without it? I love this hands-on compiler stuff and purity / laziness / type inference is what I'm exploring right now (even if Haskell is not my language of choice).
The compiler fledgeling I work on only knows Booleans & complex numbers and still manages type inference without unification. But then, it's not a full language, just a better numeric calculator. These articles are welcome input for coming up with improvements & extensions...
Be careful with writing that compiler, I decided to add a type system to my hobby language a while back and now I'm doing research in type theory. It's a slippery slope.
I'm quite interested in type theory, I just don't understand it well enough yet. The next (major) goal for my calculator is to produce native code via LLVM. Maybe integrating LLVM will help me find an IL that supports inlining... — my head is full with fun ideas :)
6 comments
[ 0.18 ms ] story [ 24.7 ms ] threadThe compiler fledgeling I work on only knows Booleans & complex numbers and still manages type inference without unification. But then, it's not a full language, just a better numeric calculator. These articles are welcome input for coming up with improvements & extensions...
Be careful with writing that compiler, I decided to add a type system to my hobby language a while back and now I'm doing research in type theory. It's a slippery slope.