The uuagc-bootstrap package

[ Tags: bsd3, development, library, program ] [ Propose Tags ]

Generates Haskell files from an attribute grammar specification

[Skip to Readme]


Dependencies array (>=, base (==4.*), containers (>=0.3), directory (>=, filepath (>=, ghc-prim (>=, haskell-src-exts (>=1.11.1), mtl (>=, uulib (>=0.9.14) [details]
License BSD3
Copyright Universiteit Utrecht
Author Software Technology at Universiteit Utrecht
Maintainer Arie Middelkoop <>
Category Development
Home page
Bug tracker
Uploaded Mon Dec 19 12:46:48 UTC 2011 by JeroenBransen
Distributions FreeBSD:, NixOS:
Executables uuagc-bootstrap
Downloads 2544 total (31 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for uuagc-bootstrap-

[back to package description]
This is the bootstrapping-version of UUAGC.
The UUAGC tool is fully functional. The essential difference with the
bootstrapped version is that this one is called "uuagc-bootstrap"
instead of "uuagc".

It should be used to compile the actual version of UUAG from source.
This package should be updated to prevent it from bitrotting with
respect to library and language changes.
This package does *not* require UUAG to be installed. Instead, it
has the "derived" files in the src-derived directory.

Note about updating the boostrapping package:

To update it this package in the repository version some
manual labour is unfortunately required:
* build the bootstrapped version of UUAG using cabal build.
  This produces Haskell sources compiled from the AG files of the
  src-ag directory in dist/build/uuagc/uuagc-tmp.
* Copy dist/build/uuagc/uuagc-tmp/*.hs to
  -> Use the script for this.
  Since these files are also added to the repository, you may want
  to add new files also to the repository or delete obsolete files.
* Update the uuagc-bootstrap.cabal file if new modules are added
  or settings change. Bump the version number.
  -> Use the script for this. It takes the
  cabal file of the bootstrapping version and replaces some
  lines in it with the x-bootstrap lines in that file.
* Compile and publish.

Note about the directory structure:

src:          sources common to the bootstrapping and bootstrapped version of UUAGC
src-derived:  haskell files compiled from the ag files of the bootstrapped version.
src-version:  version information only for the bootstrapping version.