Skip to content

JSON example#9

Merged
ziman merged 2 commits into
ziman:masterfrom
timjb:json-example
Jan 8, 2014
Merged

JSON example#9
ziman merged 2 commits into
ziman:masterfrom
timjb:json-example

Conversation

@timjb
Copy link
Copy Markdown
Contributor

@timjb timjb commented Jan 2, 2014

Implemented a basic JSON parser. This is an interesting example because it involves mutually recursive parsers. Apparently one needs to wrap the recursive call with lazy : a -> a. Otherwise the binary produced by the Idris compiler eats a lot of memory and fails.

ziman added a commit that referenced this pull request Jan 8, 2014
@ziman ziman merged commit 08837c8 into ziman:master Jan 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants