https://github.com/shorepine/amyrepl
Experimental python REPL for AMY (and maybe soon to be Tulip Desktop Web)
https://github.com/shorepine/amyrepl
Last synced: over 1 year ago
JSON representation
Experimental python REPL for AMY (and maybe soon to be Tulip Desktop Web)
- Host: GitHub
- URL: https://github.com/shorepine/amyrepl
- Owner: shorepine
- Created: 2024-08-24T17:33:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-25T14:32:16.000Z (almost 2 years ago)
- Last Synced: 2025-01-12T12:42:09.564Z (over 1 year ago)
- Language: JavaScript
- Size: 2.31 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# amyrepl
Experimental python REPL for AMY (and maybe soon to be Tulip Desktop Web)
# build notes
in AMY (maybe make this a submodule here), do `make web`
That creates `amy.js` and `amy.wasm` and `amy.aw.js` in `amy/docs`, copy that here
move / put this on line 16 of `amy.js` - still figuring out why emscripten puts this in the wrong spot
`globalThis.AudioWorkletModule = amyModule;`
eg.
```js
...
return moduleArg.ready
}
);
})();
globalThis.AudioWorkletModule = amyModule;
if (typeof exports === 'object' && typeof module === 'object')
module.exports = amyModule;
...
```
run `python server.py`, go to localhost:8000