[LLVMdev] Add a new language to LLVM 3.6 Framework

Mehmet Erol Sanliturk m.e.sanliturk at gmail.com
Wed Apr 8 02:56:23 PDT 2015


On Wed, Apr 8, 2015 at 2:16 AM, Ambuj Agrawal <ambujbwt at gmail.com> wrote:

> I am trying to add a new language to integrate with LLVM 3.6 Framework. I
> have followed a tutorial on - Kaleidoscope: Implementing a Language with
> LLVM but it dosen't explain anything on how to integrate a language with
> LLVM make build system. I have also gone through LLVMBuild Guide (
> http://llvm.org/docs/LLVMBuild.html) but am still stuck.
>
> My short term goals are to create a language/tool which takes an input
> file with ".bwt" file extensionand produces an output file with ".owt" file
> extension
>
> Stacker project in LLVM is the closest to what I want to achieve but has
> long been removed from LLVM framework.
>
> Any tutorials or simiar LLVM projects which might help me with my short
> term goals?
>
> Thanks,
> Ambuj
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>

In page :

http://en.wikipedia.org/wiki/LLVM


see

"Front ends: programming language support"


You may study how front end languages are built with LLVM .


One important example is CLang itself :


If you add a copy of CLang build statements replaced by your language name
with other required modifications into CLang build system , and created
directories parallel to Clang , I think you may obtain what you want .


Thank you very much .


Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150408/202386ff/attachment.html>


More information about the llvm-dev mailing list