ZipperAG: An implementationg of Attribute Grammars using Funcitonal Zippers

[ bsd3, experimental, library ] [ Propose Tags ]

An implementationg of Attribute Grammars using Funcitonal Zippers

[Skip to Readme]
Versions [faq] 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
Dependencies base (>=2 && <=, syz [details]
License BSD-3-Clause
Copyright Pedro Martins
Author Pedro Martins <>
Maintainer Pedro Martins <>
Category Experimental
Home page
Uploaded by prmartins at 2013-11-01T15:57:38Z
Distributions NixOS:0.9
Downloads 6513 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Successful builds reported [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for ZipperAG-0.1

[back to package description]
This source code complements the paper
Zipper-based Attribute Grammars and their Extensions. Pedro Martins, João Paulo Fernandes and João Saraiva. In the proceedings of the 17th Brazilian Symposium on Programming Languages (SBLP’13), September 29 - October 4, Brasilia, Brasil. LNCS

To run all the examples, the Scrap Your Zipper Haskell package
is necessary, which can be easily installed with:

$ cabal install syz

The examples run with:

$ghci (name_of_file)

To run the AGs, one must write in ghci:

for the files DESK*
$ semantics program

for the file HTMLTableFormatter.hs
$ semantics table

for the file RepMin.hs
$ semantics tree

for the file SmartParentesis.hs
$ semantics expr