Not EXactly C
   HOME

TheInfoList



OR:

Not eXactly C, or NXC, is a high-level programming language for
Lego Mindstorms NXT Lego Mindstorms NXT is a programmable robotics kit released by Lego on August 2, 2006. It replaced the first-generation Lego Mindstorms kit, which was called the Robotics Invention System. The base kit ships in two versions: the Retail Versio ...
designed by John Hansen in 2006. NXC, which is short for Not eXactly C, is based on
Next Byte Codes Next Byte Codes (NBC) is a simple language with an assembly language syntax that can be used to program Lego Mindstorms NXT programmable bricks. The command line compiler outputs NXT compatible machine code, and is supported on Windows, Mac OS and ...
, an
assembly language In computer programming, assembly language (or assembler language, or symbolic machine code), often referred to simply as Assembly and commonly abbreviated as ASM or asm, is any low-level programming language with a very strong correspondence be ...
. NXC has a syntax like C. The IDE for NXC is the
Bricx Command Center Bricx Command Center (BricxCC) is the integrated development environment (IDE) of Next Byte Codes (NBC), Not Quite C (NQC) and Not eXactly C (NXC). These programming languages are used to program the Robots in the Lego Mindstorms series. Not Quite ...
. The NXC compiler is available under the
Mozilla Public License The Mozilla Public License (MPL) is a free and open-source weak copyleft license for most Mozilla Foundation software such as Firefox and Thunderbird The MPL license is developed and maintained by Mozilla, which seeks to balance the concerns ...
. A sample code is as shown below: task main() //sets a new task. main() is compulsory


See also

*
Robotics Invention System Lego Mindstorms is a hardware and software structure which develops programmable robots based on Lego, Lego building blocks. Each version includes computer Lego bricks, a set of modular sensors and motors, and Lego parts from the Lego Technic ...
*
URBI Urbi is an open-source cross-platform software platform in C++ used to develop applications for robotics and complex systems. Urbi is based on the UObject distributed C++ component architecture. It also includes the urbiscript orchestration langu ...
*
Bricx Command Center Bricx Command Center (BricxCC) is the integrated development environment (IDE) of Next Byte Codes (NBC), Not Quite C (NQC) and Not eXactly C (NXC). These programming languages are used to program the Robots in the Lego Mindstorms series. Not Quite ...
*
Not Quite C 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 (programming language), C la ...


References


External links


nxcEditorBricx Command CenterNot eXactly CNXC TutorialNXC GuideA NXT 2.0 robot in action, programmed using NXC.
C programming language family Robot programming languages Lego Mindstorms 2006 in robotics {{Lego-stub