antoniogarrote / rdfstore-js

JS RDF store with SPARQL support
MIT License
564 stars 109 forks source link

rdfstore.scala.js #68

Open bblfish opened 10 years ago

bblfish commented 10 years ago

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.