Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haskell-to-elm/elm-syntax
Library for generating Elm syntax from Haskell in a scope-safe way
https://github.com/haskell-to-elm/elm-syntax
Last synced: about 2 months ago
JSON representation
Library for generating Elm syntax from Haskell in a scope-safe way
- Host: GitHub
- URL: https://github.com/haskell-to-elm/elm-syntax
- Owner: haskell-to-elm
- License: bsd-3-clause
- Created: 2019-08-23T10:50:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-02T00:50:57.000Z (about 1 year ago)
- Last Synced: 2024-10-28T14:08:07.547Z (2 months ago)
- Language: Haskell
- Size: 59.6 KB
- Stars: 21
- Watchers: 11
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-syntax [![Hackage](https://img.shields.io/hackage/v/elm-syntax.svg)](https://hackage.haskell.org/package/elm-syntax)
A library for generating Elm syntax from Haskell in a scope-safe way.
This library has two main parts:
* It defines abstract syntax trees (ASTs) for Elm definitions, expressions, patterns,
and types, using the [bound library](http://hackage.haskell.org/package/bound)
for scope-safe local names.
* It defines pretty printers from the ASTs to syntactically correct Elm code.