Open kodesoul opened 2 months ago
Also I think the easiest way to start is to create a compiler that outputs an llvm text file i.e main.ll
like the one found in the examples folder. Then compiling to machine code we use zig cc main.ll -o main
The language should be a simple procedural language in the style of c, zig and go. We could choose syntax inspired by:
Right now I'm leaning towards C3.
We could limit it to:
Basic arithmetic and I/O (unless this is obvious 🙃)
Yeah. I over looked it.
Scope
I am thinking of this being a weekend project so we should keep it simple.
We could limit it to:
What do you think ?