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

Implement native ruby parser #214

Open
flbulgarelli opened this issue Jan 4, 2019 · 4 comments
Open

Implement native ruby parser #214

flbulgarelli opened this issue Jan 4, 2019 · 4 comments
Assignees
Labels

Comments

@flbulgarelli
Copy link
Member

Although Ruby support #59 has been implemented externally, it would be nice to actually have a Haskell parser, which may be faster, simpler to use, and may be bundled within the JS distribution, making it more portable.

The bad news is that there is no Language.Ruby package over there.
The good news is that https://github.com/whitequark/parser seems to be implemented using yacc - https://github.com/whitequark/parser/blob/master/lib/parser/ruby23.y - and that happy - which we are indirectly using with some of our own parsers - is inspired on it, so perhaps porting the BNF may not be that difficult nor a complete rewrite.

@flbulgarelli
Copy link
Member Author

Also, we could get rid off that ugly warning @julian-berbel whitequark/parser#286 😛

@flbulgarelli
Copy link
Member Author

This issue is in-progress here: https://github.com/flbulgarelli/language-ruby

@luchotc
Copy link
Contributor

luchotc commented Dec 16, 2019

Can we close this one and move the specific issues to that repo? @flbulgarelli @julian-berbel

@flbulgarelli
Copy link
Member Author

Nope, since even after implementing that parser, we will have to integrate it into mulang.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants