3 ms·
Not to take away from the author or you, but we had things like this 10 years ago https://github.com/ymyzk/tinyc/tree/master/tinyc https://github.com/ymyzk/tiny
by nurettin 2y ago
Not to take away from the author or you, but we had things like this 10 years ago https://github.com/ymyzk/tinyc/tree/master/tinyc https://github.com/ymyzk/tinyc/tree/master/tinyc
- glouwbug 2y agoUnless I am mistaken, this uses LLVM?
- ymyzk 2y agoI'm the author of ymyzk/tinyc and was surprised to see my project mentioned here after more than 10 years. Since the README is written in Japanese, let me answer in English here. The project has two backends: one for NASM (x86) and another for LLVM IR.
- nurettin 2y agoIt can. It can also output x86 nasm, here's the relevant part. https://github.com/ymyzk/tinyc/blob/master/tinyc/generator/nasm.py https://github.com/ymyzk/tinyc/blob/master/tinyc/generator/n...