[llvm-dev] llvm and python bindings under windows (original) (raw)
mayuyu.io via llvm-dev llvm-dev at lists.llvm.org
Mon Sep 24 07:00:23 PDT 2018
- Previous message: [llvm-dev] llvm and python bindings under windows
- Next message: [llvm-dev] llvm and python bindings under windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You don’t have to use LLC and Clang as standalone tools. There are APIs for them. You can write Python Bindings around the native LLVM libraries to call them
Zhang
在 2018年9月20日,21:37,germano carella via llvm-dev <llvm-dev at lists.llvm.org> 写道:
Hello everyone I am Germano, from Italy. Sorry to intruding, but I don't know who to ask anymore. I developed a small programming language, entirely written in Python. I state that I work under Windows, I'm using anaconda and Python 3.6. I wrote the lexical generator and the parser generator. Now I have to write a code generator and thought about using LLVM. It seems that the Uncio way to work with LLVM in Python is llvmlite, necessary to generate the code. Then I have to use LLC. exe and clang. EXE to compile the generated code into an executable. Since I would like to distribute this language, I want to know: I must include all the installation of LLVM, or can I use its libraries to generate the code and compile it in some way? Is there any other binding for Python that I can use? Thank you for your attention, Kind regards. Germano
LLVM Developers mailing list llvm-dev at lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
- Previous message: [llvm-dev] llvm and python bindings under windows
- Next message: [llvm-dev] llvm and python bindings under windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]