- From: Adrian Gschwend <ktk@netlabs.org>
- Date: Sat, 07 Dec 2013 07:43:43 +0100
- To: public-rdfjs@w3.org
- Message-ID: <52A2C39F.7020406@netlabs.org>
On 06.12.13 17:32, Gregg Kellogg wrote: >> Kind of a random thought: If I needed a SPARQL parser in Javascript >> at this point, I'd probably take one of the open source yacc-based >> ones and compile it to JS with a tool chain ending in emscripten. I >> bet that'd be the least work and result in (by far) the fastest >> parser. Of course there'd be some work in figuring out the right >> data structures for output from the parser. > Not a bad idea. My own ruby parser generates essentially the same > S-expressions as Jena ARQ. Doing this made it useful to separate > parsing and expression generation from expression execution. Interesting didn't think of that idea either. Would be a faster way to have an initial parser working. But code would definitely not be small :-) Gregg do you have a pointer to your Ruby code? regards Adrian -- Adrian Gschwend @ netlabs.org ktk [a t] netlabs.org ------- Open Source Project http://www.netlabs.org
Received on Saturday, 7 December 2013 06:44:09 UTC