Skip to content

Commit 9a79b97

Browse files
committed
Notes on future plans
1 parent b52ac85 commit 9a79b97

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

notes.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy