Skip to content

Commit 493f869

Browse files
committed
support for calling python function from javascript
1 parent 6cbbb3c commit 493f869

7 files changed

Lines changed: 773 additions & 12 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
CMD=pythonscript/pythonscript.py
1+
CMD=pythonjs/pythonscript.py
22

33
all: pythonjs
44

55
builtins:
66
$(CMD) < runtime/builtins.py > builtins.py.js
77

88
python:
9-
./pythonscript/pythonjs.py < runtime/pythonpythonjs.py > python.js
9+
./pythonjs/pythonjs.py < runtime/pythonpythonjs.py > python.js
1010

1111
pythonjs: python builtins
1212
cat python.js builtins.py.js > pythonjs.js

0 commit comments

Comments
 (0)