Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

aidanhs/empython

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= empython

== Get it

First, clone and initialise submodules:

$ git clone git@github.com:aidanhs/empython.git
$ cd empython
$ git submodule update --init

== Build it

If you have emscripten 2.0.7 installed (other versions may or may not work):

$ cd python
$ make -f ../Makefile prep
$ make -f ../Makefile em
$ cd ..
$ make empython.js

If you have docker or podman (below I'll use podman, I think you'll need to add -u $(id -u):$(id -g) for Docker):

$ podman pull emscripten/emsdk:2.0.7
$ podman run -it --rm -v $(pwd):/src emscripten/emsdk:2.0.7 bash -c "cd python && make -f ../Makefile prep && make -f ../Makefile em && cd .. && make empython.js"
$ ls -l empython.{js,wasm}
.rw-r--r-- 2.9M aidanhs 25 Oct 14:52 empython.js
.rwxr-xr-x 1.9M aidanhs 25 Oct 14:52 empython.wasm

About

Like replit/empythoned, but up-to-date

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.