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

ScalaJs compatibility #1

Open
omidb opened this issue Jun 28, 2015 · 3 comments
Open

ScalaJs compatibility #1

omidb opened this issue Jun 28, 2015 · 3 comments

Comments

@omidb
Copy link

omidb commented Jun 28, 2015

Hi, is this lib ScalaJs compatible?

@afroozeh
Copy link
Collaborator

The short answer is that we don't know yet! This is something we definitely want. As we rely on Scala core libraries, there should not be a problem in principle. However, there may be two problems: we use some Java collections and also use Scala Macros.

July will be very busy and I don't think we will have time to investigate it. If you are interested, do you want to take the initiative and try to compile it to ScalaJS? We can work on the issues that you may encounter.

@omidb
Copy link
Author

omidb commented Jun 28, 2015

I would be happy to help but kinda too busy, as long as you don't reflection in your code you should be safe.
Another not would be running your parsers on some benchmark for speed like these in "fastparse": https://github.com/lihaoyi/fastparse

@afroozeh
Copy link
Collaborator

We don't use reflection. Ok, I thought you are willing to try it soon, that's why I proposed you take a look. In any case, we will take a look into it. Thanks for the reference to the fastparse, we will consider that as well. We will announce on twitter if we added new functionality (You can follow @IAnastassija and @afruze or just watch the repo).

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