BSD Ports

devel/fungw 1.2.1_2 DragonFly

C Function gateway for different programming languages

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL21+
Categories
devel
Package size
279.4 KiB, 1580.8 KiB installed

Description

Fungw is a tiny, portable library written in C (C89) that manages dynamic function calls across different programming languages. For this, fungw provides:

  • a simplistic scalar data type abstraction, supporting the most common types
  • semi-automatic conversion between data types
  • contexts that can host objects; objects can host named functions
  • a set of optional language bindings to the most popular scripting languages

The main use of fungw is to provide the host application a framework where dynamic parts of the code (e.g. plugins) can register their calls, allowing app-plugin, plugin-app, and plugin-plugin calls.

The second main use is doing all this in a language-agnostic way: any part of the code can be implemented in any of the numerous supported scripting languages (such as awk or lua). The caller of a function doesn't need to know what language the function is implemented in.

The main property of fungw is simplicity. The only API between objects is the plain old function call mechanism.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/fungw1.2.1_2none known-[email protected]-
FreeBSDdevel/fungw1.2.2 newestnone known-[email protected]-
MidnightBSDdevel/fungw1.2.2 newestno data-[email protected]-
HardenedBSDdevel/fungw1.2.2 newestno data-[email protected]-
GhostBSDdevel/fungw1.2.2 newestno data-[email protected]-

Install

Binary package:

pkg install fungw

From DPorts:

cd /usr/dports/devel/fungw && 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.

Dependencies

Run dependencies 6
Required by 2