News for hackers. Stuff that matters.
Re:Ask HN: Any up to date tutorial on writing a basic compil... by dozzie on Monday October 16, 2017 @01:40PM (#15485104)
Can you write a parser in C? Can you use a library in C? Because I don't think it's any different for LLVM than to combine the two (that is, if LLVM exposes C API at all). What problems exactly did you encounter?
Re:Ask HN: Any up to date tutorial on writing a basic compil... by mahdix on Monday October 16, 2017 @03:31PM (#15486002)
I can write a parser in C and can use a library in C. LLVM exposes a C API but I could not find any type of documentation/sample/tutorial for using it. There are some articles on the Internet but (those that I tried) don't work with latest LLVM.