-
Notifications
You must be signed in to change notification settings - Fork 86
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
get Parboiled2 to compile with Scala-JS #77
Comments
Note: there has been some wip attempt at porting it to Scala.js already: |
I managed to launch very old and yet simple version on Scala-JS. Need more time to make recent parboiled2 to live atop Scala-JS. I will be keeping you updated, guys. Appreciate your patience. |
I must admit that I haven't worked with scaja-js myself yet. |
Thank you, @sirthias! I will certainly ask help from you if required. |
Hi all, shapeless is ported:
parboiled2 is ported:
|
This can be closed. |
Uhm. Just curious. Will it be ported back to this repo and released in central? :) |
Daniel, I currently don't have time to pick this up, but the next pb2 version will be scala-js compatible by itself... |
Hi Matthias :) No rush, I just was worried about the "can be closed" comment - I just read it as "nvm, solved in a fork". |
@sirthias that'd be really cool ! Do you have any idea when the next version of pb2 will be released ? |
@matthieu-ravey pb2 should be released soon: 25f937b |
@sirthias Hello, we are working on adding support scala.js to pb2 but as scala.js does not support java sources the file Base64.java cannot be compiled. Will you be ok to merge a pull request that rewrite it in scala + add support to scala.js in build.sbt ? (Just commenting Base64Parsing.scala which is the alone class to use Base64.java allowed us to use pb2 in js and it rocks !) |
Victor, yes, having a proper port of Base64.java to Scala would be great. |
http://www.scala-js.org/ is moving along very quickly. Having a good parser on the client would be very neat. As Parboiled2 is pure Scala, it should be possible to get it to work for Scala-JS. :-)
The text was updated successfully, but these errors were encountered: