Development tools
This commit is contained in:
16
README.md
16
README.md
@@ -213,3 +213,19 @@ go install -v ./...
|
|||||||
### on Windows
|
### on Windows
|
||||||
|
|
||||||
TODO
|
TODO
|
||||||
|
|
||||||
|
|
||||||
|
## Development tools
|
||||||
|
|
||||||
|
* [pydump](chore/_xtool/pydump): It's the first program compiled by `llgo` (NOT `go`) in a production environment. It outputs symbol information (functions, variables, and constants) from a Python library in JSON format, preparing for the generation of corresponding packages in `llgo`.
|
||||||
|
* [llpyg](chore/llpyg): It is used to automatically convert Python libraries into Go packages that `llgo` can import. It depends on `pydump` to accomplish the task.
|
||||||
|
* [llgen](chore/llgen): It is used to compile Go packages into LLVM IR files (*.ll).
|
||||||
|
* [ssadump](chore/ssadump): It is a Go SSA builder and interpreter.
|
||||||
|
|
||||||
|
How do I generate these tools?
|
||||||
|
|
||||||
|
```sh
|
||||||
|
go install -v ./... # compile all tools except pydump
|
||||||
|
cd chore/_xtool
|
||||||
|
llgo install ./... # compile pydump
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user