Interoperable serializers for C,C++,Haskell,Icon,Java,ML Maintained by:email@example.com Port Added: 24 May 2008 06:39:48 Also Listed In:haskelljava License: not specified in port
asdlGen is a tool for generating data marshalling and
unmarshalling code from a high-level (ASDL) specification.
It can generate such code for sml, ocaml, ansi-c, java, haskell,
The Abstract Syntax Description Lanuguage (ASDL) is a language
designed to describe the tree-like data structures in compilers.
Its main goal is to provide a method for compiler components
written in different languages to interoperate.
To install the port:cd /usr/ports/devel/asdlgen/ && make install clean To add the package:pkg_add -r asdlgen
===> The following configuration options are available for asdlgen-2.0.b20060323:
CII=on: libcii for use by generated C and C++ code
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
New port: devel/asdlgen generate serializers for C,C++,Haskell,Icon,Java,ML
asdlGen generates data structure and serializer code from ASDL
specifications . It is especially helpful for exchanging
tree like data structures between different programming languages.
Currently C, C++, Haskell, Java, Icon, OCaml and SML are supported.
Although the asdlGen project itself seems no longer actively
maintained, ASDL is "alive" as it is used (at least) in the
Moby  and Python [3,4] compilers.
The port optionally installs a simple usage example  for all
seven programming languages. I developed it primarily to test the
port, but it could be helpful to users of asdlGen to get a quicker
start, especially if a less familiar programming language is
involved in their project. Reviewers/committers can easily make
use of it via the "test-demo" target.
Submitted by: Johannes 5 Joemann <firstname.lastname@example.org>