Commit 2e8e630e authored by dcw's avatar dcw

Initial revision

parent e4822f35
datadec (1.1-1) unstable; urgency=low
* Initial release, created by dh_make as a test
-- Lloyd Kamara <l.kamara@imperial.ac.uk> Wed, 04 Sep 2013 12:15:00 +0100
Source: datadec
Section: devel
Priority: optional
Maintainer: Duncan C. White <dcw@doc.ic.ac.uk>
Build-Depends: debhelper (>= 7)
Standards-Version: 3.8.3
Homepage: <insert the upstream URL, if relevant>
Package: datadec
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Recursive data type generator
Datadec takes recursive data types modelled on those found in functional
languages (Hope, Miranda, Haskell etc) and generates ANSI C code to
implement them.
This work was packaged for Debian by:
Duncan C. White <dcw@doc.ic.ac.uk> on Tue, 14 Sep 2010 16:50:39 +0100
It was downloaded from <url://example.com>
Upstream Author(s):
<put author's name and email here>
<likewise for another author>
Copyright:
<Copyright (C) YYYY Name OfAuthor>
<likewise for another author>
License:
This program is free software; you can redistribute it and/or modify it
under the terms of the "Artistic License" which comes with Debian.
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES
OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
On Debian systems, the complete text of the Artistic License
can be found in `/usr/share/common-licenses/Artistic'.
The Debian packaging is:
Copyright (C) 2010 Duncan C. White <dcw@doc.ic.ac.uk>
# Please chose a license for your packaging work. If the program you package
# uses a mainstream license, using the same license is the safest choice.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
# If you just want it to be GPL version 3, leave the following lines in.
and is licensed under the GPL version 3,
see `/usr/share/common-licenses/GPL-3'.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
/usr/bin
/usr/share/man/man1
README
INSTALL
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
TYPE {
list = nil
or cons( int head, list tail ) 1 ", " 2;
fred = a
or b( int x, fred a ) 1 " ++b++ " 2
or c( char a, int z, fred k ) 1 " --c-- " 2 " --c-- " 3
or d( int x )
or e;
}
TYPE {
intlist = null "null" | cons( int first, intlist next ) 1 " , " 2;
illist = null "n\nll" | cons( intlist first, illist next ) "[ " 1 " ] , " 2;
idtree = leaf( string id, intlist l ) "leaf( '" 1 "', " 2 ")"
| node( idtree left, idtree right ) "( " 1 " , " 2 " )";
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment