#json #parser #purescript

purescript-corefn

A parser for PureScript’s corefn JSON representation

9 releases

Uses old Rust 2015

0.3.0 Feb 9, 2019
0.2.2 Jan 27, 2019
0.1.4 Jan 14, 2019
0.1.3 Sep 10, 2018
0.1.0 Aug 31, 2018

25 downloads per month

MIT license

12KB
392 lines

purescript-corefn.rs

A parser for PureScript's corefn JSON representation.

Usage

The library exposes one function:

pub fn from_str(str: &str) -> Result<Module, serde_json::Error>

and a bunch of structs and enums representing the corefn structure.

See docs for more details.

Dependencies

~0.8–1.6MB
~37K SLoC

^\