We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52ac85 commit 9a79b97Copy full SHA for 9a79b97
notes.txt
@@ -0,0 +1,19 @@
1
+Put C modules in sub directory
2
+Make an all submodule so can insert all of them easily with
3
+
4
+ import _ "github.com/ncw/gpython/stdlib/all"
5
6
+Factor main code into submodule so gpython is minimal.
7
8
+Make a gpython-minimal with no built in stdlib
9
10
+Bytecode compile the standard library and embed into go files - can then make a gpython with no external files.
11
12
+Testing
13
14
+ python3 -m dis hello.py
15
+ python3 -mcompileall hello.py
16
+ mv __pycache__/hello.cpython-33.pyc hello.pyc
17
18
+ go build ./... && go build
19
+ ./gpython hello.pyc
0 commit comments