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

Create type provider #12

Closed
epost opened this issue Jun 4, 2018 · 6 comments
Closed

Create type provider #12

epost opened this issue Jun 4, 2018 · 6 comments
Assignees

Comments

@epost
Copy link
Member

epost commented Jun 4, 2018

No description provided.

@clayrat clayrat self-assigned this Jun 7, 2018
@clayrat
Copy link
Member

clayrat commented Jun 8, 2018

Another nice example: https://github.com/ctford/flying-spaghetti-monster

@clayrat
Copy link
Member

clayrat commented Jun 8, 2018

One thing we should keep in mind is that type providers only work for the C backend.

@clayrat
Copy link
Member

clayrat commented Jun 8, 2018

Apparently it's not as easy as I claimed - I'm hitting idris-lang/Idris-dev#1807 now. Seems like it doesn't like the Text lexer/parser, or anything involving the Lazy annotation.

@clayrat
Copy link
Member

clayrat commented Jun 8, 2018

One workaround for this would be trying out https://github.com/gallais/idris-tparsec/ as the parsing engine, which seemingly doesn't involve laziness.

@epost
Copy link
Member Author

epost commented Jun 11, 2018

@clayrat I'm more than willing to consider other parser libs. Not sure if there are others worth investigating, but parsec-like libs sound good to me. feel free to make a separate issue out of that. That has priority over the type provider anyway.

@clayrat
Copy link
Member

clayrat commented Jun 13, 2018

Yep, the provider on top of TParsec seems to work fine.

@epost epost closed this as completed Sep 12, 2018
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

No branches or pull requests

2 participants