Month: April, 2008
-
Categories
-
Archives
- August 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- July 2009
- June 2009
- July 2008
- June 2008
- April 2008
- March 2008
- February 2008
- August 2007
- July 2007
- March 2007
- February 2007
- December 2006
- November 2006
- July 2006
- May 2006
- April 2006
- February 2006
- January 2006
- December 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- March 2004
- February 2004
- January 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002
- February 2002
- January 2002
-
Meta
Raptor Web Library 1.4.17
Last week I released version 1.4.17 of my Raptor C library (release notes) but in the 38 releases over the 7 years or so since I started building it, there’s more to see than just triples.
FILE*or any custom user data structure. Similar to C++ idea of stream. This allows lazy evaluation of I/O and using language-specific I/O routines such as PerlIO (potentially, not yet!). The read abstraction is new in 1.4.17.char buf[big enough]. The stringbuffer API tries hard to minimise copying.User-AgentandCache-Controlheaders (latter, new in 1.4.17)configure). Expat out of the box does not support namespaces and XML QNames, so Raptor adds those and hides various library differences and some bugs. The XML API also provides full XML Base (xml:base) support.Some of the above are large pieces of work and some are small, but they are all solid and many have been used for multiple years in production. These turned out to be handy datatype classes for web programming and I needed them since RDF is built with web technology.
The bonus is that all of the above is used to provide the signature features of Raptor: RDF Parsing – turning syntax into triples and RDF Serializing – turning triples into syntax. Raptor now parses 7 syntaxes (GRDDL, N-Triples, RDF/XML, RSSes, Atom, TRiG, Turtle) and serializes to 10 (Atom 1.0, GraphViz DOT, JSON * 2, N-Triples, RDF-XML * 3, RSS 1.0, Turtle). The JSON outputs are new for 1.4.17
So although Raptor deals with all the RDF syntax details, it does a lot more. But I’m not changing the name!