A lexer, parser, and WebAssembly bytecode generator for Pinky Lang
Show HN: A lexer, parser, and WebAssembly bytecode generator for Pinky Lang
A lexer, parser, and WebAssembly bytecode generator for Pinky Lang is active in the show hn launch space.
Profile
I wrote a compiler for the Pinky Scripting language that does code generation targeting wasm. It's written in TypeScript with the webassembly bytecodes mapped out to helper functions like i32.const(0)The url is to a playground where you can write code in the Pinky Scripting Language and see the tokens, ast, bytecode, and output. Pinky Lang has a straight-forward grammar and is designed to be used for learning about compilers.
A lexer, parser, and WebAssembly bytecode generator for Pinky Lang is positioned in show hn launch, a segment that rewards a clear, focused offering.
It is recorded at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: pinky.cool.omg.lol
Browse related
Create a free account