Not Quite C (NQC)

Lego Mindstorm with Linux Mini-HOWTO
Prev |  | Next

# 5. Not Quite C (NQC)

## 5.1. Homepage

http://www.enteract.com/~dbaum/nqc/index.html

NQC Linux page at mattdm.org- host for NQC rpms

## 5.2. Author

Dave Baum

## 5.3. Type

Native byte-code compiler.

## 5.4. Language

A C-like language, called (of course) Not Quite C. Should be pretty easy to learn for anyone with even minimal coding experience.

## 5.5. Platforms

GNU/Linux, MS Windows, and Macintosh.

## 5.6. Description

NQC is a byte-code compiler that takes programs written in a C-like syntax and compiles it (on the PC) into byte-code that can be understood by the standard Lego firmware. This approach has strengths and drawbacks: for example, the standard firmware can handle only 32 variables and so NQC is similarly limited. However, you can do a surprising amount within these limitations. Setup is pretty simple and the project as a whole is very well documented. This is also probably the most popular alternative programming system, so there are a lot of people willing and ready to help out if you start using NQC.

As already mentioned, NQC is the only option (right now) that supports the Cybermaster and Scout products under Linux. Furthermore, a beta version of it works with version 2.0 of the firmware, making it the first alternative programming system to support the added functionality of the new firmware.

Prev | Home | Next
Lego::RCX.pm |  | pbForth