N-Triples are certainly the easiest format to parse - I wrote a very simple
parser for them:
http://code.google.com/p/scardf/source/browse/trunk/src/main/scala/org/scardf/NTriplesParser.scala
Could just have easily been in C.
-Leif
2011/12/30 Henry Story <henry.story@bblfish.net>
>
> On 30 Dec 2011, at 20:42, Jiřà Procházka wrote:
>
> > Hi,
> > I think WebID should be flexible enough to be used on low memory
> > embedded systems, does this put any restrictions on the mandated
> > syntaxes? I figure turtle because of prefixes would be no go, and other
> > syntaxes too - the algorithm for webid validation (client code),
> > including the parsers for all required syntaxes, would be best to have
> > constant space complexity...
> > I don't think such concerns nor the use case are so outlandish they
> > shouldn't be taken in consideration.
>
> I am trying to keep that in mind and keep in mind development for the
> freedombox.
> Swap-scala from Dan Connolly seems to indicate that you can write parsers
> in very little
> space for all the well known serialisations.
>
> http://code.google.com/p/swap-scala/
>
> So there is a lot that can be done I think to reduce the space consumption
> of tools like Jena.
>
> Henry
>
>
> >
> > Best,
> > Jiri
> >
> > _______________________________________________
> > foaf-protocols mailing list
> > foaf-protocols@lists.foaf-project.org
> > http://lists.foaf-project.org/mailman/listinfo/foaf-protocols
>
> Social Web Architect
> http://bblfish.net/
>
> _______________________________________________
> foaf-protocols mailing list
> foaf-protocols@lists.foaf-project.org
> http://lists.foaf-project.org/mailman/listinfo/foaf-protocols