language-ats: Parser and pretty-printer for ATS.

[ ats, bsd3, language, lexer, library, parser, pretty-printer ] [ Propose Tags ]

Parser and pretty-printer for ATS, written with Happy and Alex.

[Skip to Readme]


[Index] [Quick Jump]


Manual Flags


Set this flag if cross-compiling


Enable `-Werror`


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, (info)
Change log
Dependencies ansi-wl-pprint (>=0.6.8 && <1.0), array (<0.6), base (>=4.11 && <5), composition-prelude (>= && <3.1), containers (<0.7), deepseq (<1.5), microlens (>= && <0.5), recursion (>= && <2.3), these-skinny (<0.8), transformers (<0.7) [details]
License BSD-3-Clause
Copyright Copyright: (c) 2018-2020 Vanessa McHale
Author Vanessa McHale
Revised Revision 1 made by vmchale at 2023-05-23T15:28:14Z
Category Language, Lexer, Parser, Pretty Printer, ATS
Source repo head: darcs get
Uploaded by vmchale at 2021-01-18T22:55:30Z
Distributions NixOS:
Reverse Dependencies 4 direct, 2 indirect [details]
Downloads 48712 total (12 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for language-ats-

[back to package description]


This is a package similar to language-c or haskell-src-exts that provides a parser and pretty-printer for ATS.

The parser is slightly buggy but it can handle almost all of the language; see the test/data directory for examples of what it can handle.

The pretty-printer works quite well; you can safely use it for code generation.