sparql-parser module, which you are looking at right now,
is a wrapper around the rdfstore-js code.
It is much smaller library than rdfstore-js,
and it outputs a simpler tree structure.
However, it inherits (most of) the features and bugs of rdfstore-js.
So while I am very thankful to the author of rdfstore-js,
I cannot personally guarantee the same industry-strength quality level of my other libraries
such as N3.js,
because I did not write and test the core module of this package.