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

Make Opal compatible for JS usage #73

Open
ronaldtse opened this issue May 30, 2024 · 2 comments
Open

Make Opal compatible for JS usage #73

ronaldtse opened this issue May 30, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@ronaldtse
Copy link
Contributor

No description provided.

@ronaldtse ronaldtse added the enhancement New feature or request label May 30, 2024
@hmdne
Copy link
Contributor

hmdne commented May 31, 2024

From my initial outlook, this will involve porting the code:

Other than that, the work in the Plurimath project is already done on making the dependencies work.

If the second task is to be done by creating a compatibility layer, my suggestion would be to make this compatibility layer conform to the API of Nokogiri as much as possible. This approach has been done by at least two libraries that I know of:

  • opal-browser
  • ferrum

@ronaldtse
Copy link
Contributor Author

It sounds worthwhile, to develop an XML/HTML adapter layer, using Nokogiri syntax that is Opal compatible. That way, all our projects can share this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🏔 High priority
Development

No branches or pull requests

3 participants