devel/sfsexp 1.4.1 DragonFly
Small Fast S-Expression Library
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- LGPL21+
- Categories
- devel
- Package size
- 46.1 KiB, 170.6 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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/sfsexp | 1.4.1 newest | none known | - | [email protected] | - |
| FreeBSD | devel/sfsexp | 1.4.1 newest | none known | - | [email protected] | - |
| NetBSD | devel/sfsexp | 1.4.1 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/sfsexp | 1.4.1 newest | no data | - | [email protected] | - |
| GhostBSD | devel/sfsexp | 1.4.1 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install sfsexp
From DPorts:
cd /usr/dports/devel/sfsexp && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.