weso / shaclex

SHACL/ShEx implementation
http://weso.github.io/shaclex
MIT License
77 stars 17 forks source link

Modularisation of converter function #298

Open jeswr opened 4 years ago

jeswr commented 4 years ago

Is it possible to have the functionality that converts between schemas published as a package to npm.

For context the authors Schimatos (https://github.com/schimatos/schimatos.org) are looking at add this functionality to the application. We are specifically looking for incorporate a function that converts a ShEx constraint to SHACL constraint.

Thanks!

labra commented 4 years ago

Thanks for that feature request, indeed it would be great to do it and we would like to add that functionality.

However, if you want to use it as an npm package, I understand you would like it to work in Javascript, right? For that, one first step it to compile the libraries with ScalaJs.

In principle it is possible to do so, and we had already a issue for it. It would be great if someone could help with it.