[LLVMdev] Code-generation: lang=>JSON, JSON=>lang and merging into lang

Stephen Cross scross at scross.co.uk
Sat Jun 20 06:22:01 PDT 2015


> reproduce the code in that language

Is the intention to exactly reproduce the original source code? Or
some code that's functionally equivalent?

On Sat, Jun 20, 2015 at 8:05 AM, Alec Taylor <alec.taylor6 at gmail.com> wrote:
> Considering engineering my own code-generator. If I do go ahead, will
> open-source the end result.
>
> Needs to read [parse] one language, and output JSON (conformant to a
> specific JSON-schema).
>
> Then needs to read JSON, and reproduce the code in that language, and
> [possibly] merge the generated code with existing code.
>
> Languages I'm looking to support are all rather popular (Python, Go, Rust,
> JavaScript).
>
> Any pointers—e.g.: specific LLVM libraries and sub-projects to use—would be
> appreciated.
>
> Thanks
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list