Nstar
The compiler for N⋆, a statically typed assembly language used as a compiler backend for Zilch
Install / Use
/learn @zilch-lang/NstarREADME
N*
N* is a low-level typed assembly language meant to be used as a compiler target language. It is very low-level, and features zero-cost abstractions such as structures, unions or even types.
Compiling
Make sure that you have stack in your path.
Then type stack build and stack exec -- <command-line arguments>.
The first command will build nsc, the compiler for N*, and the second one will run it with the given command-line arguments.
Hacking on the source code
The codebase is written almost entirely in Haskell at the moment, but a rewriting in Zilch is planned for when Zilch will be production-ready and complete enough to be used on its own.
Make sure to conform to the license before requesting any change!
Code examples
N* is not yet production-ready, thus example codes are lacking. It is also pretty unstable, so examples in the examples directory will change at some point.
License
© Ghilain Bergeron (Mesabloo) and collaborators. This work is licensed under the BSD-3 license.
Related Skills
node-connect
338.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
338.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.6kCommit, push, and open a PR
