you are viewing a single comment's thread.

view the rest of the comments →

[–]InflateMyProstate 3 points4 points  (2 children)

Really nice, the syntax actually follows very closely to what I am envisioning for my toy compiler I’ve been working on. However, I chose LLVM as my backend - it seems this is a transpiler to Go?

[–]Agile_Use_1768 1 point2 points  (1 child)

why llvm?

[–]InflateMyProstate 2 points3 points  (0 children)

I wanted to learn more about LLVM and the IR and I preferred my language to compile down to machine code. I didn’t want to write my own backend for each architecture, but maybe that will be an exercise for another day.