Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON example #9

Merged
merged 2 commits into from
Jan 8, 2014
Merged

JSON example #9

merged 2 commits into from
Jan 8, 2014

Conversation

timjb
Copy link
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