mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +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>
14 lines
416 B
Haskell
14 lines
416 B
Haskell
--- src/haskell/StdPrimsUtil.hs.orig 1999-09-13 00:27:01.000000000 +0200
|
|
+++ src/haskell/StdPrimsUtil.hs 2007-10-04 21:22:09.000000000 +0200
|
|
@@ -81,8 +81,8 @@
|
|
|
|
sexp_rd_identifier s = do t <- get_prim "identifier" s
|
|
(case t of
|
|
- SexpLex.STR str -> return str
|
|
- _ -> error "expected identifier")
|
|
+ SexpLex.STR str -> return str
|
|
+ _ -> error "expected identifier")
|
|
|
|
|
|
|