https://github.com/ustymukhman/weird-js
"JavaScript Is Weird (EXTREME EDITION)" algorithm written in Zig.
https://github.com/ustymukhman/weird-js
javascript wasm weird zig
Last synced: 6 months ago
JSON representation
"JavaScript Is Weird (EXTREME EDITION)" algorithm written in Zig.
- Host: GitHub
- URL: https://github.com/ustymukhman/weird-js
- Owner: UstymUkhman
- License: mit
- Created: 2024-08-01T06:26:59.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T06:38:35.000Z (about 1 year ago)
- Last Synced: 2025-02-26T05:35:11.807Z (8 months ago)
- Topics: javascript, wasm, weird, zig
- Language: Zig
- Homepage: https://ustymukhman.github.io/weird-js/dist/
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weird JS
[JavaScript Is Weird (EXTREME EDITION)](https://youtu.be/sRWE5tnaxlI) algorithm written in Zig (for learning purposes) and exposed on the web via WASM.
## Download
```bash
git clone https://github.com/UstymUkhman/weird-js.git
cd weird-js
```## Develop
```bash
# CMD:
./build.sh# This script optionally accepts 2 arguments,
# JS code to compile and an output file name:
./build.sh "console.log('Hi!')" out# Run:
node ./zig-out/out.js# Web:
bun i
bun dev
```## Build
```bash
bun run build
bun run preview
```