Writing JS code when one comes from Scala is hard. One has no easy way of finding out what the types of objects functions are meant to take, what types of functions are meant to be passed, etc... So I tried mapping rdfstore.js to scala using scala.js. You can get it here:
I found this very helpful already just in order to understand what rdfstore.js was doing. Even though rdfstore.js is pretty well documented, having a working type systems that verifies the types on execution helps a lot. So if people want to help complete this, you're welcome to give me a hand there.
Writing JS code when one comes from Scala is hard. One has no easy way of finding out what the types of objects functions are meant to take, what types of functions are meant to be passed, etc... So I tried mapping rdfstore.js to scala using scala.js. You can get it here:
https://github.com/stample/rdfstore.scala.js
I found this very helpful already just in order to understand what rdfstore.js was doing. Even though rdfstore.js is pretty well documented, having a working type systems that verifies the types on execution helps a lot. So if people want to help complete this, you're welcome to give me a hand there.