A very small C interpreter for scripting

PicoC is a very small C interpreter for scripting. It was originally written as a script language for a UAV’s on-board flight system. It’s also very suitable for other robotic, embedded and non-embedded applications.

The core C source code is around 3500 lines of code. It’s not intended to be a complete implementation of ISO C but it has all the essentials. When compiled it only takes a few k of code space and is also very sparing of data space. This means it can work well in small embedded devices. It’s also a fun example of how to create a very small language implementation while still keeping the code readable.

19 Comments

  1. 2015-06-01 11:45 pm
    • 2015-06-01 11:54 pm
      • 2015-06-02 12:03 am
        • 2015-06-02 12:46 am
          • 2015-06-02 5:04 am
          • 2015-06-02 12:12 pm
          • 2015-06-02 2:45 pm
          • 2015-06-02 4:40 pm
          • 2015-06-02 6:57 pm
          • 2015-06-03 10:32 am
        • 2015-06-02 1:15 am
          • 2015-06-02 9:09 am
  2. 2015-06-02 1:54 am
    • 2015-06-02 2:34 am
      • 2015-06-02 6:02 am
  3. 2015-06-03 1:00 am
    • 2015-06-03 3:14 am
      • 2015-06-03 5:19 am
      • 2015-06-03 5:44 pm