[LLVMdev] LLVM parsers for popular languages? (original) (raw)
Antoine Pitrou antoine at python.org
Sat Jul 4 01:49:38 PDT 2015
- Previous message: [LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
- Next message: [LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Alec Taylor <alec.taylor6 gmail.com> writes:
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)?
There isn't. We simply let Python parse the JITted code itself. The parser is written in C, and is in the CPython code base. If you want to tinker with that, there is a doc at https://docs.python.org/devguide/compiler.html
Regards
Antoine.
- Previous message: [LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
- Next message: [LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]