mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
6ec7d6368c
asdlGen generates data structure and serializer code from ASDL specifications [1]. 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 [2] and Python [3,4] compilers. The port optionally installs a simple usage example [5] 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. PR: ports/117703 Submitted by: Johannes 5 Joemann <joemann@beefree.free.de>
12 lines
462 B
Plaintext
12 lines
462 B
Plaintext
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,
|
|
icon, c++.
|
|
|
|
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.
|
|
|
|
WWW: http://asdl.sourceforge.net/
|