Live data from Hacker News

Chibicc: A Small C Compiler

github.com

21–30 of 48 posts

Re: Chibicc: A Small C Compiler

#25
This looks great, I’ll definitely use it.

Is there any similar project like this where LLVM IR is used? I’ll start building a language just for fun during weekends and I plan to use LLVM but it is rather hard to understand clang on limited time, so a smaller scale project would be awesome.

Re: Chibicc: A Small C Compiler

#26

This looks great, I’ll definitely use it. Is there any similar project like this where LLVM IR is used? I’ll start building a language just for fun during weekends and I plan to use LLVM but it is rather hard to understand clang on limited time, so a smaller scale project would be awesome.

I used LLVM for a small compiler; not for C, but for a Java-like language: https://github.com/LucianoLaratelli/dj2ll-public All the API calls are contained within codegen.cpp.

Re: Chibicc: A Small C Compiler

#28

Oh man I used to be a die hard fan of the author's 'turing complete fm[1]' podcast. It seems like he has stopped publishing new episodes, wonder what happened. [1] https://turingcomplete.fm/

Looks like it's a Japanese podcast? Or is there an English version?

Re: Chibicc: A Small C Compiler

#29

This looks great, I’ll definitely use it. Is there any similar project like this where LLVM IR is used? I’ll start building a language just for fun during weekends and I plan to use LLVM but it is rather hard to understand clang on limited time, so a smaller scale project would be awesome.

The Kaleidoscope LLVM tutorial!
Post reply on HN