Popularity
5.6
Declining
Activity
0.0
Stable
11
5
0

Monthly Downloads: 130
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Tags: Language     Development     Parser     ATS    
Latest version: v0.2.0.26

ats-format alternatives and similar packages

Based on the "Language" category.
Alternatively, view ats-format alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of ats-format or a related project?

Add another 'Language' Package

README

ats-formatter

Build Status

This is a code formatter for ATS. It is a work-in-progress, but it can handle a good portion of the language already.

If you find something that's not listed in TODO.md feel free to open an issue. Code samples that were formatted into something ugly are also welcome.

Configuration

atsfmt is configured with the .atsfmt.toml file. You can generate a default configuration with

 $ atsfmt --default-config

Vim

You can use this plugin to enable automatic formatting on write.

Installation

Binary Releases

The releases page has binary releases for common platforms.

Compilation from Source

To install, first install GHC, then cabal. Then

 $ cabal update
 $ cabal new-install ats-format --happy-options='-gcsa' --alex-options='-g' --symlink-bindir ~/.cabal/bin -O2

License

All code except test/data/left-pad.dats is licensed under the BSD3 license.


*Note that all licence references and agreements mentioned in the ats-format README section above are relevant to that project's source code only.