The ZipperAG package

[ Tags: bsd3, experimental, library ] [ Propose Tags ]

An implementationg of Attribute Grammars using Functional Zippers


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
Dependencies base (==4.*), syz [details]
License BSD3
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 Sun Oct 19 17:55:40 UTC 2014 by prmartins
Distributions NixOS:0.9
Downloads 2288 total (27 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

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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