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: 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-02T00:50:57.000Z (over 1 year ago)
- Last Synced: 2025-04-28T13:09:01.982Z (2 months ago)
- Language: Haskell
- Size: 59.6 KB
- Stars: 21
- Watchers: 10
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# elm-syntax [](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.