<div dir="ltr">Thanks, happy to of confirmed.<br><br>With that in mind, will use the AST modules provided by the languages (with the exception of libclang for C++).<br><br>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)?<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 1, 2015 at 10:23 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:antoine@python.org" target="_blank">antoine@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi,<br>
<br>
Alec Taylor <alec.taylor6 <at> <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__gmail.com&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=gFwnrq1A6b4bDGDoXVANrEYyGDZzyOClT35YGuILpnw&s=PFeGy9X8Vy60g44Moeq7LIisLzx1skqCoTyOllso94I&e=" rel="noreferrer" target="_blank">gmail.com</a>> writes:<br>
><br>
> Would be good to have Python, Rust and Go.Are there any LLVM parsers<br>
<span class="">> around for these popular languages?<br>
<br>
</span>A programming language is much more than a parser and AST.  It has<br>
specific semantics, and a runtime (in the case of Python, the runtime is<br>
very large as it hosts a lot of functionality).<br>
<br>
So it wouldn't make much sense to have "just a parser".<br>
<br>
However, if you are looking for an implementation of a subset of Python<br>
using LLVM, you can take a look at Numba: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__numba.pydata.org_&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=Mfk2qtn1LTDThVkh6-oGglNfMADXfJdty4_bhmuhMHA&m=gFwnrq1A6b4bDGDoXVANrEYyGDZzyOClT35YGuILpnw&s=NZGvzCXyd0A8Yrs45NE2hq5RLlpBSo6pdWk2ul6lkO4&e=" rel="noreferrer" target="_blank">http://numba.pydata.org/</a><br>
<br>
(disclaimer: I am part of the Numba team)<br>
<br>
Regards<br>
<span class=""><font color="#888888"><br>
Antoine.<br>
</font></span><div class=""><div class="h5"><br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" rel="noreferrer" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>