Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.