Show HN: Pascal to LLVM Compiler in Haskell
1–6 of 6 posts
Re: Show HN: Pascal to LLVM Compiler in Haskell
#2This project may interest you: https://github.com/int-index/kalium. It is a limited Pascal-to-idiomatic-Haskell compiler written in Haskell.
Re: Show HN: Pascal to LLVM Compiler in Haskell
#3[deleted]
Re: Show HN: Pascal to LLVM Compiler in Haskell
#4This project may interest you: https://github.com/int-index/kalium . It is a limited Pascal-to-idiomatic-Haskell compiler written in Haskell.
An LLVM-IR to idiomatic Haskell compiler in Pascal would complete the journey.
Re: Show HN: Pascal to LLVM Compiler in Haskell
#5This project may interest you: https://github.com/int-index/kalium . It is a limited Pascal-to-idiomatic-Haskell compiler written in Haskell.
An LLVM-IR to idiomatic Haskell compiler in Pascal would complete the journey.
Most amazing "a compiler from Haskell to Pascal in idiomatic LLVM-IR" station is missing in that journey.
Re: Show HN: Pascal to LLVM Compiler in Haskell
#6One of the things I love Haskell for, and there are many reasons, is that it's great at building compilers and interpreters. Monadic transformers for effects, pattern matching in functions, strong types, polymorphic typeclasses, the list goes on and on.
Finally, if anyone is interested in building something like this, there is a great tutorial that, which I believe the author used but am not sure: http://www.stephendiehl.com/llvm/