Hi Ahmed,
The Kaleidoscope tutorial might be of use to you:
http://llvm.org/docs/tutorial/
Cheers,
Roel
On 01/01/15 16:32, Ahmed Taj elsir wrote:> 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.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>