[LLVMdev] LLVM front-end

Ahmed Taj elsir meedo456123 at gmail.com
Thu Jan 1 08:32:52 PST 2015


Hi,
I'm new in LLVM project, I want to understand how to write a LLVM
front-end for my simple OOP language (not implemented yet) using
c/c++.
I think I have to write a lexer ,parser , semantic analyzer ,then code
generator to LLVM IR, am I right ?
Should I generate C language code then pass it to clang or what ? Any
advices to make my language high performance one?

Sorry for questions that might seen silly, but I really confused
(after a lot googling).
I wish you can help me to start in the right way.

Thanks.



More information about the llvm-dev mailing list