Wrote a little compiler (to x86_64) for a stack-based language: hackage.haskell.org/package/kempe
Curious if there other x86 or assembly-targeting compilers written in Haskell? I wrote this for my edification, but a lot of stuff seems to stop off at LLVM so it’s hard to compare/even know what the state of the art is…
Link has a typo (packakge). Correct: https://hackage.haskell.org/package/kempe
Source is a pleasure to read, excellent job!
Oh dear! Thanks for figuring that out
Kempe looks really cool! Thanks for sharing.
Tangent to the topic: what are useful stuff that one can do with stack-based languages?
I’ve got a treat for you https://evincarofautumn.blogspot.com/2012/02/why-concatenative-programming-matters.html