NO

Author Topic: PicoC  (Read 5075 times)

Offline Vortex

  • Member
  • *
  • Posts: 901
    • http://www.vortex.masmcode.com
PicoC
« on: October 25, 2023, 02:07:46 PM »
The PicoC interpreter :

Quote
PicoC is a very small C interpreter for scripting. It was originally written as a script language for a UAV 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.

It's been tested on x86-32, x86-64, powerpc, arm, ultrasparc, HP-PA and blackfin processors and is easy to port to new targets.

https://gitlab.com/zsaleeba/picoc

https://github.com/jpoirier/picoc

https://software.muzychenko.net/en/pico-c-win32/
Code it... That's all...

Offline John Z

  • Member
  • *
  • Posts: 920
Re: PicoC
« Reply #1 on: October 26, 2023, 05:44:17 PM »
Hi Vortex,

Interesting .. picoC written in C.
I would have expected assembly ;)

John Z

Offline Vortex

  • Member
  • *
  • Posts: 901
    • http://www.vortex.masmcode.com
Re: PicoC
« Reply #2 on: October 26, 2023, 07:25:17 PM »
Hi John,

As we know, the language C is very versatile. PicoC is the product of the power of C.

The tiny C Compiler is another utility prodiving the C interpreting service :

https://bellard.org/tcc/
Code it... That's all...

Offline AlexN

  • Global Moderator
  • Member
  • *****
  • Posts: 394
    • Alex's Link Sammlung
Re: PicoC
« Reply #3 on: October 27, 2023, 12:08:53 AM »
The tiny C Compiler is another utility prodiving the C interpreting service :

https://bellard.org/tcc/
The last release of this compiler is at: http://download.savannah.nongnu.org/releases/tinycc/.
The newest development you can find at: https://repo.or.cz/tinycc.git.
best regards
 Alex ;)

Offline MrBcx

  • Global Moderator
  • Member
  • *****
  • Posts: 194
    • Bcx Basic to C/C++ Translator
Re: PicoC
« Reply #4 on: October 27, 2023, 02:34:46 AM »
The tiny C Compiler is another utility prodiving the C interpreting service :

https://bellard.org/tcc/
The last release of this compiler is at: http://download.savannah.nongnu.org/releases/tinycc/.
The newest development you can find at: https://repo.or.cz/tinycc.git.

If their search bubble is any indication, that site desperately needs a moderator.  Too bad ...
Bcx Basic to C/C++ Translator
https://www.BcxBasicCoders.com

Offline Vortex

  • Member
  • *
  • Posts: 901
    • http://www.vortex.masmcode.com
Re: PicoC
« Reply #5 on: October 28, 2023, 12:08:25 PM »
Hello,

Quote
About

Unofficial mirror of mob development branch

repo.or.cz/w/tinycc.git

https://github.com/TinyCC/tinycc

I managed to build the 32-bit version of the mob branch with Msys2.
Code it... That's all...