- From: Tristan King <tristan.king@dfki.de>
- Date: Thu, 16 Feb 2012 18:12:37 +0100
- To: public-linked-json@w3.org
- Cc: "Markus Lanthaler" <markus.lanthaler@gmx.net>
Hi Markus, Unfortunately my implementation has pretty much been ported directly from the js/py implementations. The only exception is the triples callback function, which now matches the spec (at least in the interface). This was basically because I didn't have a lot of time to get some of the functionality working (the triple callbacks). I was working with the spec until I got to the Normalization algorithm. The "This algorithm is a work in progress, do not implement it." note and the messiness of that section pushed me to read the js and py implementations for that function, and one thing led to another and before long I had ported the bulk of the code. So I think the key thing is the incompleteness of the spec rather than a poor spec, and this shouldn't be a problem once the spec is finalised. If I get some spare time I plan to re-implement a lot of the code (the porting has left some rather unreadable code), which I'll try and do from the spec. But I'm not sure if I'll get the chance any time soon. Cheers -Tristan On Sun, 18 Dec 2011 21:05:50 +0800 "Markus Lanthaler" <markus.lanthaler@gmx.net> wrote: > Thanks for this Tristan. I will have a look at it after the holidays. > > Just a quick question: Have you ported the code directly from the > JavaScript/Python implementations or did you do your implementation > based on the spec? I'm asking since I'm interested to know how people > interpret the spec, if there are things that are not properly spec'd > out yet and generally how interoperable solutions in different > programming languages are. > > > -- > Markus Lanthaler > @markuslanthaler > > > > > > > -----Original Message----- > > From: Tristan King [mailto:tristan.king@dfki.de] > > Sent: Friday, December 16, 2011 11:05 PM > > To: public-linked-json@w3.org > > Subject: My Java implementation of JSON-LD > > > > Hi Guys, > > > > I've been working on translating the jsonld.js and PyLD code to > > java. > > > > It can be found here: https://github.com/tristan/jsonld-java > > > > It's not complete yet, but as I'm going on holidays for the next > > month I thought it best to just get it out there now incase anyone > > else is interested (The README has a list of notes and todos). If > > anyone else wants to work on this I'll have no trouble with > > accepting pull requests or adding other Collaborators (message me > > on github if you're interested). > > > > I hope some people find this useful. > > Thanks > > -Tristan > > > > -- > > Tristan King > > Software Engineer > > DFKI Kaiserslautern > > -- Tristan King Software Engineer DFKI Kaiserslautern
Received on Thursday, 16 February 2012 17:14:44 UTC