ZipperAG: An implementationg of Attribute Grammars using Functional Zippers

[ bsd3, experimental, library ] [ Propose Tags ]
Versions [RSS] 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
Dependencies base (>=4 && <5), syz [details]
License BSD-3-Clause
Copyright Pedro Martins
Author Pedro Martins <pedromartins4@gmail.com>
Maintainer Pedro Martins <pedromartins4@gmail.com>
Category Experimental
Home page www.di.uminho.pt/~prmartins
Uploaded by prmartins at 2014-10-19T17:55:40Z
Distributions NixOS:0.9
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7496 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for ZipperAG-0.9

[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 (syz) 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