llgo/ssa: b.NewPyModVar, b.ImportPyMod, PyObjectPtr, PyObjectPtrPtr

This commit is contained in:
xushiwei
2024-05-11 15:07:50 +08:00
parent 00222c7808
commit 97cb312386
7 changed files with 139 additions and 23 deletions

View File

@@ -65,8 +65,8 @@ The `_demo` directory contains our demos (it start with `_` to prevent the `go`
And the `py/_demo` directory contains python related demos:
* [hellopy](py/_demo/hellopy/hello.go): link Python to Go and say `Hello world`
* [clpy](py/_demo/clpy/cleval.go): compile Python code and eval.
* [callpy](py/_demo/callpy/call.go): call Python standard library function `math.sqrt`.
* [clpy](py/_demo/clpy/cleval.go): compile Python code and eval
* [callpy](py/_demo/callpy/call.go): call Python standard library function `math.sqrt`
### How to run demos