{"id":19512543,"url":"https://github.com/vmchale/ats-format","last_synced_at":"2025-04-26T04:31:37.646Z","repository":{"id":128760362,"uuid":"114722817","full_name":"vmchale/ats-format","owner":"vmchale","description":"ATS source code formatter","archived":false,"fork":false,"pushed_at":"2018-02-28T04:21:17.000Z","size":3444,"stargazers_count":11,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-04T08:01:39.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmchale.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-19T05:27:26.000Z","updated_at":"2019-12-05T06:35:51.000Z","dependencies_parsed_at":"2023-04-17T12:46:10.131Z","dependency_job_id":null,"html_url":"https://github.com/vmchale/ats-format","commit_stats":null,"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fats-format","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fats-format/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fats-format/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmchale%2Fats-format/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmchale","download_url":"https://codeload.github.com/vmchale/ats-format/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250931029,"owners_count":21509804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T23:26:35.263Z","updated_at":"2025-04-26T04:31:37.636Z","avatar_url":"https://github.com/vmchale.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ats-formatter\n\n[![Build Status](https://travis-ci.org/vmchale/ats-format.svg?branch=master)](https://travis-ci.org/vmchale/ats-format)\n\n\u003cimg alt=\"Screenshot of sample results\" src=https://github.com/vmchale/ats-format/raw/master/atsfmt.png\u003e\n\u003cimg alt=\"Screenshot of sample results\" src=https://github.com/vmchale/ats-format/raw/master/atsfmt2.png\u003e\n\nThis is a code formatter for [ATS](http://www.ats-lang.org/). It is\na work-in-progress, but it can handle a good portion of the language already.\n\nIf you find something that's not listed in `TODO.md` feel free to open\nan issue. Code samples that were formatted into something ugly are also welcome.\n\n## Configuration\n\n`atsfmt` is configured with the `.atsfmt.toml` file. You can generate a default\nconfiguration with\n\n```bash\n $ atsfmt --default-config\n```\n\n### Vim\n\nYou can use [this](https://github.com/vmchale/ats-vim) plugin to enable\nautomatic formatting on write.\n\n## Installation\n\n### Binary Releases\n\nThe [releases](https://github.com/vmchale/ats-format/releases) page has binary\nreleases for common platforms.\n\n### Compilation from Source\n\nTo install, first install [GHC](https://www.haskell.org/ghc/download.html), then\n[cabal](https://www.haskell.org/cabal/download.html). Then\n\n```bash\n $ cabal update\n $ cabal new-install ats-format --happy-options='-gcsa' --alex-options='-g' --symlink-bindir ~/.cabal/bin -O2\n```\n\n## License\n\nAll code except `test/data/left-pad.dats` is licensed under the BSD3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fats-format","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmchale%2Fats-format","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmchale%2Fats-format/lists"}