debian/0000755000000000000000000000000012147643201007166 5ustar debian/watch0000644000000000000000000000032612036252177010225 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|uuagc-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/uuagc \ ([\d\.]*\d)/ debian/control0000644000000000000000000000325212147621401010571 0ustar Source: uuagc Section: devel Priority: optional Maintainer: Debian Haskell Group Uploaders: Joachim Breitner Build-Depends: debhelper (>= 9) , haskell-devscripts (>= 0.8.13) , cdbs , ghc , uuagc (<< 0.9.42.1-1) | uuagc (>> 0.9.42.2-2) , libghc-uuagc-cabal-dev (>= 1.0.4.0-2) , libghc-mtl-dev (>= 1.1.1.1) , libghc-src-exts-dev (>= 1.11.1) Standards-Version: 3.9.4 Vcs-Darcs: http://darcs.debian.org/pkg-haskell/uuagc Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/uuagc Homepage: http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem Package: uuagc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: compiler for the Utrecht University Attribute Grammar system The Attribute Grammar system can be used to annotate the production rules of a grammar with inherited and synthesised attributes. The values of the attributes can be determined while parsing/traversing the abstract syntax tree and will give the semantic value of the tree. . The inherited attributes are values which are passed downwards through the abstract syntax tree and the synthesised attributes are passed upwards. Haskell expressions are used to describe the computation of the attributes. . The uuagc compiler takes a set files in which the attribute grammar is defined and generates a Haskell file that contains the data type definitions corresponding to the grammar, semantic functions and catamorphisms (functions that take a syntax tree and return the semantic value of that tree) . The (Utrecht University) Attribute Grammar system is part of the Haskell Utrecht Tools set. debian/rules0000755000000000000000000000076412130031276010250 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk # UUAGC has a strange way of setting the flag: It has to be set via a cpp # defines when compiling Setup $(DEB_SETUP_BIN_NAME): if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi for setup in Setup.lhs Setup.hs; do if test -e $$setup; then ghc -DEXTERNAL_UUAGC --make $$setup -o $(DEB_SETUP_BIN_NAME); exit 0; fi; done build/uuagc:: build-ghc-stamp debian/uuagc.10000644000000000000000000000676712036252177010401 0ustar .TH uuagc "1" "April 2007" "uuagc 0.9.4" "User Commands" .SH NAME uuagc \- Attribute Grammar compiler .SH SYNOPSIS .B uuagc [ .IR options " ..." ] .I file .SH DESCRIPTION This program \fBuuagc\fP is the compiler of the (Utrecht University) Attribute Grammar system. It takes as input AG source files (.ag) and produces as output regular Haskell source files (.hs). .PP Available options: .TP \fB\-m\fP generate default module header .TP \fB\-\-module\fP[=\fIname\fP] generate module header, specify module name .TP \fB\-d\fP, \fB\-\-data\fP generate data type definition .TP \fB\-\-strictdata\fP generate strict data fields (when data is generated) .TP \fB\-\-strictwrap\fP generate strict wrap fields for WRAPPER generated data .TP \fB\-c\fP, \fB\-\-catas\fP generate catamorphisms .TP \fB\-f\fP, \fB\-\-semfuns\fP generate semantic functions .TP \fB\-s\fP, \fB\-\-signatures\fP generate signatures for semantic functions .TP \fB\-\-newtypes\fP use newtypes instead of type synonyms .TP \fB\-p\fP, \fB\-\-pretty\fP generate pretty printed list of attributes .TP \fB\-w\fP, \fB\-\-wrappers\fP generate wappers for semantic domains .TP \fB\-r\fP, \fB\-\-rename\fP rename data constructors .TP \fB\-\-modcopy\fP use modified copy rule .TP \fB\-\-nest\fP use nested tuples .TP \fB\-\-syntaxmacro\fP experimental: generate syntax macro code (using knit catas) .TP \fB\-o\fP \fIfile\fP, \fB\-\-output\fP=\fIfile\fP specify output \fIfile\fP .TP \fB\-v\fP, \fB\-\-verbose\fP verbose error message format .TP \fB\-h\fP, \-?, \fB\-\-help\fP get usage information .TP \fB\-a\fP, \fB\-\-all\fP do everything (\fB\-dcfsprm\fP) .TP \fB\-P\fP \fIsearch path\fP, \fB\-\-\fP=\fIsearch path\fP specify \fIseach path\fP .TP \fB\-\-prefix\fP=\fIprefix\fP set prefix for semantic functions .TP \fB\-\-self\fP generate self attribute .TP \fB\-\-cycle\fP check for cyclic definitions .TP \fB\-\-version\fP get version information .TP \fB\-O\fP,\fB\-\-optimize\fP optimize generated code (--visit --case) .TP \fB\-\-visit\fP try generating visit functions .TP \fB\-\-seq\fP force evaluation using function seq (visit functions only) .TP \fB\-\-unbox\fP use unboxed tuples .TP \fB\-\-case\fP use nested cases instead of let (visit functions only) .TP \fB\-\-Werrors\fP turn warnings into fatal errors .TP \fB\-\-dumpgrammar\fP dump internal grammar representation (in generated code) . .SH COPYRIGHT Copyright \(co 1998 \(em 2005 Doaitse Swierstra, Arthur Baars and Alexey Rodriguez Copyright \(co 2005 \(em 2007 Alexey Rodriguez Copyright \(co 2005 \(em 2007 Joost Verhoog Copyright \(co 2006 \(em 2007 Arie Middelkoop Copyright \(co 2006 \(em 2007 Jeroen Fokker Copyright \(co 2007 Atze Dijkstra .PP This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. .PP This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. .PP You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . .SH AUTHOR This manual page was written by Arjan Oosting for the Debian system (but may be used by others). debian/changelog0000644000000000000000000001203212147643201011036 0ustar uuagc (0.9.42.3-2) unstable; urgency=low * Enable compat level 9 -- Joachim Breitner Fri, 24 May 2013 12:52:49 +0200 uuagc (0.9.42.3-1) experimental; urgency=low * New upstream release * Use the installed uuagc again * Use at least uuagc-cabal 1.0.4.0-2 to avoid http://hackage.haskell.org/trac/ghc/ticket/7748 * Avoid building against broken uuagc versions -- Joachim Breitner Mon, 08 Apr 2013 10:07:11 +0200 uuagc (0.9.42.2-2) experimental; urgency=low * Last upload was not fully merged before, fixing this * Stop using the installed uuagc and use the included pre-generated files, as building fails otherwise: http://lists.debian.org/debian-haskell/2013/02/msg00026.html -- Joachim Breitner Sat, 09 Feb 2013 18:28:51 +0100 uuagc (0.9.42.2-1) experimental; urgency=low * New upstream release -- Joachim Breitner Sat, 09 Feb 2013 13:13:02 +0100 uuagc (0.9.42.1-1) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this packages is built against experimental * Bump standards version, no change * New upstream release -- Joachim Breitner Mon, 05 Nov 2012 21:59:23 +0100 uuagc (0.9.40.3-2) unstable; urgency=low * To avoid self-build-dependency, ship the generated files in debian/generated-files/* and provide the debian/rules update-generated-files to update these. -- Joachim Breitner Thu, 12 Apr 2012 21:32:43 +0200 uuagc (0.9.40.3-1) unstable; urgency=low * New upstream release (Closes: #666365) * Add patch to build uuagc using the system installed uuagc. -- Joachim Breitner Sun, 08 Apr 2012 18:41:52 +0200 uuagc (0.9.38.1-1) unstable; urgency=low * Adopted by the Debian Haskell Group. Thanks to Arjan for maintaining it. * New upstream release -- Joachim Breitner Fri, 17 Jun 2011 10:44:19 +0200 uuagc (0.9.6-1) unstable; urgency=low * New upstream release. -- Arjan Oosting Sat, 12 Apr 2008 11:59:06 +0200 uuagc (0.9.5-2) unstable; urgency=low * debian/control: - Bump build dependency on GHC to 6.8.2 as the build now needs Cabal version 1.2.0 or greater. -- Arjan Oosting Sun, 20 Jan 2008 00:44:59 +0100 uuagc (0.9.5-1) unstable; urgency=low * New upstream release * debian/control: - Replace Xs-Vcs-* fields with the now official Vcs-* fields. - Add Homepage field. - Bump the Standards-Version to 3.7.3. No changes needed. * debian/rules: - Don't call ./configure during build. - Remove LICENSE file installed by Cabal. We have our copyright file for this. * debian/watch: Use hackage.haskell.org as site for new upstream releases. (Closes: #456482) -- Arjan Oosting Sun, 20 Jan 2008 00:00:44 +0100 uuagc (0.9.4~snapshot20070422-2~pre1) unstable; urgency=low * debian/control: - Adjust Xs-Vcs-* fields as the package has moved to the pkg-haskell repository on svn.debian.org. -- Arjan Oosting Sun, 13 May 2007 14:51:52 +0200 uuagc (0.9.4~snapshot20070422-1) unstable; urgency=low * New upstream snapshot release: - The attribute flow analysis has been completely implemented by Joost Verhoog, and it is now possible to generate visit-function based evaluators, which are much faster and use less space. We assume that such functions are strict in all their arguments, and generate the appropriate `seq` calls to make the GHC aware of this. As a result also case expressions are generated instead of let expressions wherever possible. - The base system has been extended by Jeroen Fokker with wildcard notations for designating groups of productions, attributes etc. * Cleanup debian/rules file. * debian/copyright: - Update copyright statements. * debian/uuagc.1: - Include the new options. - Update copyright statements. -- Arjan Oosting Sun, 22 Apr 2007 23:42:21 +0200 uuagc (0.9.1-4) unstable; urgency=low * debian/control: Add Xs-Vcs-Svn and Xs-Vcs-Browser fields. * debian/uuagc.1: Fix typo in man page. (Closes: 409323) -- Arjan Oosting Fri, 13 Apr 2007 11:08:54 +0200 uuagc (0.9.1-3) unstable; urgency=low * debian/changelog: fix spelling error. * Stop using update-haskell-control and $ghc6_* variables, as it is not necessary and not using it simplifies the work for porters and for me. -- Arjan Oosting Sun, 19 Nov 2006 23:21:12 +0100 uuagc (0.9.1-2) unstable; urgency=low * debian/control.in: - Change maintainer email address. -- Arjan Oosting Thu, 19 Oct 2006 01:53:49 +0200 uuagc (0.9.1-1) unstable; urgency=low * Initial release (Closes: #376491) * debian/copyright: Indicate where the license statement can be found until upstream adds a clear license statement to the tarball. -- Arjan Oosting Sun, 2 Jul 2006 17:24:30 +0200 debian/source/0000755000000000000000000000000012036252177010473 5ustar debian/source/format0000644000000000000000000000001412036252177011701 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147620643010371 0ustar 9 debian/dirs0000644000000000000000000000001012105440004010027 0ustar usr/bin debian/copyright0000644000000000000000000000375512036252175011136 0ustar This package was debianized by Arjan Oosting on Sun, 2 Jul 2006 17:24:30 +0200. It was downloaded from http://www.cs.uu.nl/wiki/HUT/Download The original tarball downloaded does not contain a file with a copyright and/or license statement but it does contain a file with the GPL text and we can find a license statement on the homepage of the Atttribute Grammar System. From http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem "The Attribute Grammar System is distributed under the GNU General Public License" Upstream Authors: Doaitse Swierstra Arthur Baars Alexey Rodriguez Joost Verhoog Arie Middelkoop Jeroen Fokker Atze Dijkstra Copyright: Copyright (c) 1998-2003 Doaitse Swierstra Copyright (c) 2003-2005 Arthur Baars Copyright (c) 2005-2007 Alexey Rodriguez Copyright (c) 2005-2007 Joost Verhoog Copyright (c) 2006-2007 Arie Middelkoop Copyright (c) 2006-2007 Jeroen Fokker Copyright (c) 2007 Atze Dijkstra License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The Debian packaging is (C) 2006, Arjan Oosting and is licensed under the GPL, see above. debian/uuagc.install0000644000000000000000000000004412036252177011665 0ustar dist-ghc/build/uuagc/uuagc /usr/bin debian/uuagc.manpages0000644000000000000000000000002012036252177012004 0ustar debian/uuagc.1