Jul 20, 2023

Compiler for writing programs for the Lego RCX

A compiler for a simple language for programming the LEGO RCX or CyberMaster controllers. The language itself is “Not Quite C” and includes preprocessor and control structures very similar to the C language, but with restrictions imposed by the limitations of the RCX hardware/firmware itself.

Besides compiling, nqc also provides functions for downloading the RCX firmware as well as uploading programs to and downloading from the RCX.

The NQC home page includes documentation for the language itself including examples.

Checkout these related ports:
  • Zig - Language designed for robustness, optimality, and maintainability
  • Zephir - Zephir is a transpiled language used for creating C-extensions for PHP
  • Ypsilon - Scheme implementation for real-time applications
  • Yorick - Interpreted language for scientific simulations
  • Yap - High-performance Prolog compiler
  • Yap-devel - High-performance Prolog compiler
  • Yabasic - Yet another Basic for Unix and Windows
  • Voc - Vishap Oberon Compiler for Oberon-2
  • Vala - Programming language and compiler that converts Vala code into C code
  • V8 - Open source JavaScript engine by Google
  • V8-beta - Open source JavaScript engine by Google
  • V - V Programming Language
  • Urweb - Ultimate host for embedded domain-specific languages
  • Ucc - C Compiler Which Implements the ANSI C89 Standard
  • Twelf - Meta-logical framework for deductive systems