hs2ats: Create ATS types from Haskell types

[ ats, bsd3, haskell, language, library, program ] [ Propose Tags ]

This package enables scanning Haskell source files for data types and then generating ATS types from them.


[Skip to Readme]
Versions 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.2.0.3, 0.2.0.4, 0.2.1.0, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.1.4, 0.2.1.5, 0.2.1.6, 0.2.1.7, 0.2.1.8, 0.2.1.9, 0.2.1.10, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.0.3, 0.3.0.4
Change log CHANGELOG.md
Dependencies ansi-wl-pprint, base (>=4.7 && <5), casing, composition-prelude, cpphs, deepseq, haskell-src-exts, hs2ats, language-ats (>=1.5.0.0), microlens, optparse-generic [details]
License BSD-3-Clause
Copyright Copyright: (c) 2018 Vanessa McHale
Author Vanessa McHale
Maintainer vamchale@gmail.com
Category Language, Haskell, ATS
Uploaded by vmchale at Fri Sep 14 21:01:41 UTC 2018
Distributions NixOS:0.3.0.4
Executables hs2ats
Downloads 1202 total (72 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-09-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
development

Enable -Werror

DisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hs2ats-0.3.0.4

[back to package description]

hs2ats

This is a tool to convert Haskell types to ATS types.

Example use:

hs2ats --src DataTypes.hs --target generated_types.sats

Note that hs2ats does not preserve strictness semantics.

Installation

Install cabal. Then:

cabal new-install hs2ats --symlink-bindir ~/.cabal/bin

or

cabal new-install hs2ats --alex-options='-g' --happy-options='-gcsa' --symlink-bindir ~/.cabal/bin