MyNixOS website logo
Description

Nim0 is a toy one-pass compiler for a limited subset of the Nim language, targetting a 32-bit RISC CPU. Compiled Nim0 programs can be executed in the RISC emulator. All this in 5 heavily documented sources, totalling less than 4k LOC. It is a port of Niklaus Wirth's Oberon-0 compiler as described in his book Compiler construction (included in the package), cross-referenced in the sources, that you can follow while reading the book.

Metadata

Version

2021-04-26

License

MIT

Status

BrokenUnknown
InsecureUnknown
UnfreeUnknown

Platforms (8)

    Darwin
    Linux
Show all
  • aarch64-darwin
  • aarch64-linux
  • armv6l-linux
  • armv7l-linux
  • i686-linux
  • mipsel-linux
  • x86_64-darwin
  • x86_64-linux