From: Richard C. <ri...@cy...> - 2009-06-25 14:22:29
|
On 23 Jun 2009, at 17:00, Olaf Hartig wrote: >> One of the quite small number of issues is that N3Reader has been >> removed. >> The CVS Log >> http://jena.cvs.sourceforge.net/viewvc/jena/jena2/src/com/hp/hpl/jena/n3/N3 >> JenaReader.java?hideattic=0&view=log says: >> Remove antlr-based N3 parser and route to JavaCC Turtle parser. >> >> Is there a drop-in replacement? > > Not that I know of :-( > Anyone else? > Does this mean we also have to use the JavaCC Turtle parser? I based the TriG parser on Jena's N3 parser, which was implemented using AntLR. Jena has since removed that parser and replaced it with a Turtle parser, which uses JavaCC. I think you have two options: a) pull the AntLR bits from the old Jena repository and put them into NG4J b) create a new TriG parser based on Jena's new Turtle parser. For someone who is already familiar with JavaCC, option b) is likely not too much work, and would produce a cleaner and more maintainable result. But a) would be quicker and maybe Good Enough. Best, Richard > > Olaf > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of > unconference: $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > ng4j-namedgraphs mailing list > ng4...@li... > https://lists.sourceforge.net/lists/listinfo/ng4j-namedgraphs |