Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2008 11:35:30 -0800 (PST)
From:      Jacula Modyun <jacula@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/121152: [NEW PORT]: devel/hs-uuagc
Message-ID:  <200802271935.m1RJZQe5093839@splork.wirewater.yow>
Resent-Message-ID: <200802271940.m1RJe2Gt047014@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         121152
>Category:       ports
>Synopsis:       [NEW PORT]: devel/hs-uuagc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 27 19:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat Jan 19 15:48:03 UTC 2008 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

Hi,

I think that one of the most intriguing aspect of modern theories
of language is the interconnection between computer science and
philosophy of language, in particular way when the problem is the
semantic. An interesting point of view is given by the
context-free grammars.

Context-free grammars are of great importance in the studies of
of programming languages, natural languages and the attribute
grammars are an extension of this approach; then UUAGC.

>From the web page:

UUAG is the Utrecht University Attribute Grammar system.
Generates Haskell files from an attribute grammar specification

It is a preprocessor for Haskell which makes it easy to write catamorphisms
(that is, functions that do to any datatype what foldr does to lists).
You can define tree walks using the intuitive concepts of inherited and
synthesized attributes, while keeping the full expressive power of Haskell.

For uulib you can view:

http://www.freebsd.org/cgi/query-pr.cgi?pr=121151 

Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>

>How-To-Repeat:
	
>Fix:

	

--- hs-uuagc.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hs-uuagc
#	hs-uuagc/Makefile
#	hs-uuagc/pkg-descr
#	hs-uuagc/distinfo
#	hs-uuagc/pkg-plist
#
echo c - hs-uuagc
mkdir -p hs-uuagc > /dev/null 2>&1
echo x - hs-uuagc/Makefile
sed 's/^X//' >hs-uuagc/Makefile << 'END-of-hs-uuagc/Makefile'
X# New ports collection makefile for: hs-uuagc
X# Date created:        February 27 2008
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
X#
X# $FreeBSD
X#
X
XPORTNAME=	uuagc
XPORTVERSION=	0.9.5
XCATEGORIES=	devel haskell
XPKGNAMEPREFIX=	hs-
X
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XMAINTAINER=	jacula@gmail.com
XCOMMENT=	Attribute Grammar System of Universiteit Utrecht
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-uulib>=${PORTVERSION}:${PORTSDIR}/devel/hs-uulib
XLIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
X
XGHC_VERSION=	6.8.2
XUUAG_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build
X
Xdo-install:
X	cd ${WRKSRC} && ./setup install
X
X.include <bsd.port.mk>
END-of-hs-uuagc/Makefile
echo x - hs-uuagc/pkg-descr
sed 's/^X//' >hs-uuagc/pkg-descr << 'END-of-hs-uuagc/pkg-descr'
XUUAG is the Utrecht University Attribute Grammar system.
XGenerates Haskell files from an attribute grammar specification
X
XIt is a preprocessor for Haskell which makes it easy to write catamorphisms
X(that is, functions that do to any datatype what foldr does to lists).
XYou can define tree walks using the intuitive concepts of inherited and
Xsynthesized attributes, while keeping the full expressive power of Haskell.
X
Xmaintainer:	Arie Middelkoop <ariem@cs.uu.nl>
Xlicense:	GPL-2
Xhomepage:	http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem
Xpackage-url:	http://nix.cs.uu.nl/dist/hut/
END-of-hs-uuagc/pkg-descr
echo x - hs-uuagc/distinfo
sed 's/^X//' >hs-uuagc/distinfo << 'END-of-hs-uuagc/distinfo'
XMD5 (uuagc-0.9.5.tar.gz) = 1615010c258edfee75039e25444b20de
XSHA256 (uuagc-0.9.5.tar.gz) = c5be435efa609f72c09e175dd5cf7835a060bd7eaf6634ec4cde72ea84b99f25
XSIZE (uuagc-0.9.5.tar.gz) = 167465
END-of-hs-uuagc/distinfo
echo x - hs-uuagc/pkg-plist
sed 's/^X//' >hs-uuagc/pkg-plist << 'END-of-hs-uuagc/pkg-plist'
Xbin/uuagc
X%%DOCSDIR%%/LICENSE
X@dirrm %%DOCSDIR%%
END-of-hs-uuagc/pkg-plist
exit
--- hs-uuagc.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802271935.m1RJZQe5093839>