./lang/picoc, C interpreter

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1nb1, Package name: picoc-2.1nb1, Maintainer: agc

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.


Master sites:

SHA1: 24fdc3c8302915d663fcaefaf878ab5ad5a2d69b
RMD160: 9d65bcee54a6d7fa28a66afdd09d3b7554315f68
Filesize: 68.351 KB

Version history: (Expand)


CVS history: (Expand)


   2015-11-03 23:50:46 by Alistair G. Crooks | Files touched by this commit (194)
Log message:
Add SHA512 digests for distfiles for lang category

Problems found with existing digests:
	Package nhc98 distfile nhc98src-1.22.tar.gz
	a8adc8f22371998ee0657bc0e01058a57d876abc [recorded]
	81975fcb5f1dda5efeaabc30ce8c6dceae55e591 [calculated]

Problems found locating distfiles:
	Package gcc-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.i386.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.dragonfly.36A.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.freebsd.84.tar.bz2
	Package gcc5-aux: missing distfile ada-bootstrap.x86_64.solaris.511.tar.bz2
	Package ghc7: missing distfile ghc-7.6.3-boot-i386-unknown-freebsd.tar.xz
	Package icc11: missing distfile l_cproc_p_11.1.080.tgz
	Package jini: missing distfile jini-1_2_1_001-src.zip
	Package oo2c: missing distfile oo2c_32-2.0.11.tar.bz2
	Package openjdk7: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk7: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk7: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk7: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk7: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk7: missing distfile \ 
openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package openjdk8: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-freebsd-10-amd64-20150301.tar.xz
	Package openjdk8: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-5-i386-20150301.tar.xz
	Package openjdk8: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-6-i386-20150301.tar.xz
	Package openjdk8: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-7-earmv6hf-20150306.tar.xz
	Package openjdk8: missing distfile \ 
openjdk7/bootstrap-jdk-1.7.76-netbsd-7-sparc64-20150301.tar.xz
	Package openjdk8: missing distfile \ 
openjdk7/bootstrap-jdk7u60-bin-dragonfly-3.8-amd64-20140719.tar.bz2
	Package oracle-jdk8: missing distfile jdk-8u60-linux-i586.tar.gz
	Package oracle-jdk8: missing distfile jdk-8u60-solaris-x64.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-linux-i586.tar.gz
	Package oracle-jre8: missing distfile jre-8u60-solaris-x64.tar.gz
	Package sun-jdk6: missing distfile jdk-6u45-linux-i586.bin
	Package sun-jdk6: missing distfile jdk-6u45-solaris-i586.sh
	Package sun-jdk7: missing distfile jdk-7u72-linux-i586.tar.gz
	Package sun-jdk7: missing distfile jdk-7u72-solaris-i586.tar.gz
	Package sun-jre6: missing distfile jce_policy-6.zip
	Package sun-jre6: missing distfile jre-6u45-linux-x64.bin
	Package sun-jre6: missing distfile jre-6u45-solaris-x64.sh
	Package sun-jre7: missing distfile jre-7u72-linux-i586.tar.gz
	Package sun-jre7: missing distfile jre-7u72-solaris-i586.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2013-12-18 00:23:38 by Joerg Sonnenberger | Files touched by this commit (3)
Log message:
Use a pointer to the void type, not a enum value that turns out to be 0.
Bump revision.
   2013-07-15 04:02:29 by Ryo ONODERA | Files touched by this commit (177)
Log message:
* .include "../../devel/readline/buildlink3.mk" with USE_GNU_READLINE=yes
  are replaced with .include "../../devel/readline/buildlink3.mk", and
  USE_GNU_READLINE are removed,

* .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
  are replaced with .include "../../mk/readline.buildlink3.mk".
   2012-10-02 22:11:57 by Aleksej Saushev | Files touched by this commit (187)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
   2012-04-27 06:48:44 by Alistair G. Crooks | Files touched by this commit (8) | Imported package
Log message:
Initial import of picoc-2.1 into the Packages Collection

	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
	%