[LLVMdev] Require Grammar for converting C to IR

Jean-Daniel Dupas devlists at shadowlab.org
Mon Jul 29 06:06:49 PDT 2013


Do what ?  compile C code ?
You have to use clang which is the LLVM C language family frontend.

See http://clang.llvm.org/


Le 29 juil. 2013 à 14:23, Brian Herman <brianherman at gmail.com> a écrit :

> I am curious how do you guys do it anyways?
> 
> 
> On Mon, Jul 29, 2013 at 3:27 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Vijay Daultani wrote:
> Respected Sir/Madam,
> 
> As I was developing some part of compiler for a project. I require grammar
> (BNF or EBNF) for converting the C code in the IR as it is not been
> mentioned any where over your official website.
> 
> I don't know what you mean by "converting the C code in the IR".
> 
> Regardless, LLVM does not have BNF or EBNF forms (or any formalized grammar) for C, nor for LLVM IR. Sorry!
> 
> Nick
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> 
> -- 
> 
> 
> Thanks,
> Brian Herman
> college.nfshost.com
> 
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-- Jean-Daniel




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130729/73f370d4/attachment.html>


More information about the llvm-dev mailing list