https://github.com/najmiter/asm-chitter
assembly code syntax highlighter written in rust (compiled into wasm for browser usage)
https://github.com/najmiter/asm-chitter
assembly code highlighter js rust wasm
Last synced: 3 months ago
JSON representation
assembly code syntax highlighter written in rust (compiled into wasm for browser usage)
- Host: GitHub
- URL: https://github.com/najmiter/asm-chitter
- Owner: najmiter
- Created: 2024-12-14T20:39:39.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-21T20:44:08.000Z (7 months ago)
- Last Synced: 2025-03-28T18:13:46.589Z (4 months ago)
- Topics: assembly, code, highlighter, js, rust, wasm
- Language: Rust
- Homepage: https://asm-chitter.vercel.app/
- Size: 173 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting started
```bash
cargo install wasm-pack
``````bash
wasm-pack build --target web
``````bash
npm init wasm-app my-web-app
```Then in the `index.js` of this template, you may start using the wasm stuff:
```js
import init, { chittify } from '../pkg/chitter.js';await init(); // MAKE SURE TO INITIALIZE!
console.log(chittify('some string'));
```