BSD Ports

devel/sfsexp 1.4.1 FreeBSD

Small Fast S-Expression Library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
LGPL21+
Categories
devel
Package size
42.6 KiB, 159.5 KiB installed

Description

The sfsexp library is intended for developers who wish to manipulate (read, parse, modify, and create) symbolic expressions from C or C++ programs. A symbolic expression, or s-expression, is essentially a LISP-like expression such as (a (b c)). S-expressions are able to represent complex, structured data without requiring additional meta-data describing the structure. They are recursively defined: an s-expression is a list of either atoms or s-expressions. In the example above, the expression contains an atom "a" and an s-expression, which in turn contains two atoms, "b" and "c". They are simple, useful, and well understood.

This library is designed to provide a minimal set of functions and data structures for the four functions listed above: reading s-expressions (I/O), parsing strings containing them into an AST equivalent, modifying the AST representation, and converting the AST back into a well formatted string. The primary goals are efficiency and simplicity. This library forms the basis of the data representation and transmission protocol for the Supermon high-speed cluster monitoring system from the LANL Advanced Computing Laboratory. The usefulness and lack of choice in available, open source s-expression libraries around 2003 motivated the independent (from supermon) release of this library.

In the other systems

The newest version among them is 1.4.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/sfsexp1.4.1 newestnone known-[email protected]-
NetBSDdevel/sfsexp1.4.1 newestnone known-[email protected]-
DragonFlydevel/sfsexp1.4.1 newestnone known-[email protected]-
HardenedBSDdevel/sfsexp1.4.1 newestno data-[email protected]-
GhostBSDdevel/sfsexp1.4.1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install sfsexp

From the ports tree:

cd /usr/ports/devel/sfsexp/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	sfsexp>0:devel/sfsexp
LIB_DEPENDS=	libsexp.so:devel/sfsexp

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.4.11.4.11.4.01.4.11.4.1
FreeBSD:14:quarterly1.4.11.4.1n/a1.4.11.4.1
FreeBSD:15:latest1.4.11.4.1n/a1.4.11.4.1
FreeBSD:15:quarterly1.4.11.4.1n/an/an/a
FreeBSD:16:latest1.4.11.4.1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependency graph

Ports that need it on the left, what it needs to run on the right (to build, as it needs nothing to run); at most 8 of each. "Dependencies" below lists them all.

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1

Configuration

No options to configure.

USES
libtool pathfix pkgconfig
Service scripts
none

Files

pkg-plist 12
  • include/sfsexp/cstring.h
  • include/sfsexp/faststack.h
  • include/sfsexp/sexp.h
  • include/sfsexp/sexp_errors.h
  • include/sfsexp/sexp_memory.h
  • include/sfsexp/sexp_ops.h
  • include/sfsexp/sexp_vis.h
  • lib/libsexp.a
  • lib/libsexp.so
  • lib/libsexp.so.1
  • lib/libsexp.so.1.0.0
  • libdata/pkgconfig/sfsexp.pc
distinfo 1
FileSizeSHA256
sfsexp-1.4.1.tar.gz46529715e9a18bb0d5c3c5093444a9003471c2d25ab611b4219ef1064f598668723681
Master sites 1
  • https://github.com/mjsottile/sfsexp/releases/download/v1.4.1/

Commit history 0

No commits in the history this site was built from.