All Projects → zilch-lang → nstar

zilch-lang / nstar

Licence: BSD-3-Clause license
The compiler for N⋆, a statically typed assembly language used as a compiler backend for Zilch

Programming Languages

haskell
3896 projects
c
50402 projects - #5 most used programming language
assembly
5116 projects

Projects that are alternatives of or similar to nstar

TensorFlow-Multiclass-Image-Classification-using-CNN-s
Balanced Multiclass Image Classification with TensorFlow on Python.
Stars: ✭ 57 (+119.23%)
Mutual labels:  low-level-programming
Lowlevelprogramming University
How to be low-level programmer
Stars: ✭ 7,224 (+27684.62%)
Mutual labels:  low-level-programming
SixtyPical
A 6502-oriented low-level programming language supporting advanced static analysis
Stars: ✭ 25 (-3.85%)
Mutual labels:  low-level-programming
libCplus
Wonderful library with lots of useful functions, algorithms and data structures in C
Stars: ✭ 47 (+80.77%)
Mutual labels:  low-level-programming
cxos
Operating System development experiment in Ada
Stars: ✭ 32 (+23.08%)
Mutual labels:  low-level-programming

N*

stars forks

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].