erules icon indicating copy to clipboard operation
erules copied to clipboard

Add scalajs support

Open mprevel opened this issue 11 months ago • 6 comments

Hi,

This PR adds scala.js support so the rule engine can be used in the browser or in nodejs context and rules can be shared between these 2 environments.

All modules are available for JVM and JS platforms but erules-cats-xml that remains only for JVM since it would require cats-xml-core to be published for JS platform previously and I neither know if it is possible (no java dependencies, ...) nor useful since JSON is already available via circe and more common in JS environment.

Please let me know if this PR needs extra changes.

Regards,

mprevel avatar Jan 11 '25 18:01 mprevel

Hi @mprevel! Thank you so much for this PR, I'll have a look as soon as possible

geirolz avatar Jan 23 '25 14:01 geirolz

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Definitely want to use this within ScalaJS. What would it take to get this over the finish line?

jarrodcodes avatar Feb 21 '25 01:02 jarrodcodes

Bump on this.

jarrodcodes avatar Mar 04 '25 16:03 jarrodcodes

I don't know. I may work on it if I get info about the changes to do.

mprevel avatar Mar 08 '25 18:03 mprevel

@geirolz any chance we could get some traction on reviewing this?

jarrodcodes avatar Mar 14 '25 23:03 jarrodcodes