AssemblyScript/assemblyscript ? reverse-engineered prompt
Reverse engineered prompt
Build me a small compiler project that lets me write code in a TypeScript like language and turn it into WebAssembly.
I want it to feel easy to use from the command line, so someone can install it with npm, point it at a source file, and get a lean wasm output. Include the basic language features you’d expect from typed JavaScript style code, plus a simple standard library and runtime so the output actually works in a real app. It should also have a few examples and tests so I can see how to use it and know it’s behaving correctly.
If you need to check current docs or best practices for WebAssembly tooling, go ahead and look them up online. Please set it up so the project is ready for local development too, with clear scripts for building and testing.
Are you gonna build this?
make sure you review the code using coderabbit