(original) (raw)

There is also the Pyston project from Dropbox. Presumably that includes a Python parser.

I'm not affiliated with the project.

On Sat, Jul 4, 2015 at 2:35 AM, Alec Taylor <alec.taylor6@gmail.com> wrote:
Thanks, happy to of confirmed.

With that in mind, will use the AST modules provided by the languages (with the exception of libclang for C++).

Antoine: Am aware of Numba, nice job there BTW. So is there a \[decoupled\] LLVM parser which I can use to read Python files and analyse objects (including computing their attributes in OO and setattr scenarios)?

On Wed, Jul 1, 2015 at 10:23 PM, Antoine Pitrou <antoine@python.org> wrote:

Hi,

Alec Taylor 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.


\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
LLVM Developers mailing list
LLVMdev@cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev