Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcmcgrath13/lox-v-lox
a web app comparing the result of the lox-rs and lox-zig implementations
https://github.com/mcmcgrath13/lox-v-lox
Last synced: 20 days ago
JSON representation
a web app comparing the result of the lox-rs and lox-zig implementations
- Host: GitHub
- URL: https://github.com/mcmcgrath13/lox-v-lox
- Owner: mcmcgrath13
- Created: 2022-10-08T21:30:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-09T17:59:40.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T07:27:43.330Z (about 1 month ago)
- Language: Vue
- Homepage: https://mcmcgrath13.github.io/lox-v-lox/
- Size: 237 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lox-v-lox
A web app comparing the results of [lox-rs](https://github.com/mcmcgrath13/lox-rs) and [lox-zig](https://github.com/mcmcgrath13/lox-zig) interpreters for the same program. Both lox's are compiled to wasm, so this is a serverless app.
## Prereqs
- Node 16
- [rsw-rs](https://github.com/rwasm/rsw-rs) - 🦞 wasm-pack based build tool## Quick Start
RSW is looking for the lox implementations in sibling directories to the root directory of this project.
### Development
```bash
npm install
npm run watch# in a different tab
npm run dev
```**Note**: The web workers do not work in development mode, so to test that functionality, build and run the app locally.
```bash
npm run build
python3 -m http.server -d dist
```### Production
```bash
npm install
npm run build-gh
```