BSD Ports

Vulnerable: version 2.1nb1 is affected by 12 known vulnerabilities. See below.

lang/picoc 2.1nb1 NetBSD

C interpreter

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
modified-bsd
Categories
lang
Package size
41.0 KiB, 125.1 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDlang/picoc2.1nb1
FreeBSDlang/picoc2.1_2
HardenedBSDlang/picoc2.1_2
GhostBSDlang/picoc2.1_2

Install

Binary package:

pkgin install picoc

From pkgsrc:

cd /usr/pkgsrc/lang/picoc && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642.1nb1
NetBSD 10.1 aarch642.1nb1
SmartOS / illumos x86_64-
macOS 15 arm64-

Dependencies

No port depends on this one.

Known vulnerabilities 12