[LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go

Antoine Pitrou antoine at python.org
Wed Jul 1 05:23:11 PDT 2015


Hi,

Alec Taylor <alec.taylor6 <at> gmail.com> writes:
> 
> Would be good to have Python, Rust and Go.Are there any LLVM parsers
> around for these popular languages?

A programming language is much more than a parser and AST.  It has
specific semantics, and a runtime (in the case of Python, the runtime is
very large as it hosts a lot of functionality).

So it wouldn't make much sense to have "just a parser".

However, if you are looking for an implementation of a subset of Python
using LLVM, you can take a look at Numba: http://numba.pydata.org/

(disclaimer: I am part of the Numba team)

Regards

Antoine.





More information about the llvm-dev mailing list