Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Not Quite C

< >

Not Quite C, aka Not Quite C, is an open source programming language created in 2017 by Nora Sandler.

#768on PLDB 7Years Old
Download source code:
git clone https://github.com/nlsandler/nqcc
Source Code · Wikipedia

Not Quite C (NQC) is a programming language, application programming interface (API), and native bytecode compiler toolkit for the Lego Mindstorms, Cybermaster and LEGO Spybotics systems. It is based primarily on the C language but has specific limitations, such as the maximum number of subroutines and variables allowed, which differ depending on the version of firmware the RCX has. The language was invented by David Baum. Read more on Wikipedia...


Example from Wikipedia:
task main () // Main program { SetPower(OUT_A, OUT_FULL); // Turn on motor A at 100% power. OnFor(OUT_A, 200); // Let the motor run for two seconds, and then turn it off. }

Language features

Feature Supported Example Token
Comments ✓ // A comment
Line Comments ✓ // A comment //
Semantic Indentation X

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0