f888905fca
PicoC is a very small C interpreter for scripting. It was originally written as the 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 4000 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. picoc has been tested on x86-32, x86-64, powerpc, arm, ultrasparc, HP-PA and blackfin processors and is easy to port to new targets. To show it working on the old DECUS grep program (included as one of its tests): % time picoc work/picoc/tests/46_grep.c - case work/picoc/tests/46_grep.c File work/picoc/tests/46_grep.c: "lower-case are always ignored. Blank lines never match. The expression", case '^': case '$': case '.': case '[': case ':': ... 0.651u 0.000s 0:00.68 95.5% 0+0k 0+0io 0pf+0w % wc work/picoc/tests/46_grep.c 557 1991 15172 work/picoc/tests/46_grep.c %
9 lines
472 B
Text
9 lines
472 B
Text
$NetBSD: distinfo,v 1.1.1.1 2012/04/27 04:48:44 agc Exp $
|
|
|
|
SHA1 (picoc-2.1.tar.bz2) = 24fdc3c8302915d663fcaefaf878ab5ad5a2d69b
|
|
RMD160 (picoc-2.1.tar.bz2) = 9d65bcee54a6d7fa28a66afdd09d3b7554315f68
|
|
Size (picoc-2.1.tar.bz2) = 69991 bytes
|
|
SHA1 (patch-aa) = 68819805ddc79a193df17ba2d23fbf388f7bfcd1
|
|
SHA1 (patch-ab) = 616fb42d4bc08f4500d607e33ece112e87ecdd0b
|
|
SHA1 (patch-ac) = 879e978d0f2542e5841d5279aa034ec4a7209147
|
|
SHA1 (patch-ad) = e976c920fa6807ab773f6c505e88a5b3ed7e990a
|