Re: Moving forward with ISSUE-30 (IRI template expansion)

> but to support all variants Turtle allows, a much more complex
> Regex would be needed.

Of course, sure… that's why I wanted to show what our current solution looks like.
Its simplicity is the consequence of choosing only double quotes
and no escaping whatsoever. We should keep it that simple!

Turtle syntax would mean a combination of regex + escaping
(https://github.com/RubenVerborgh/N3.js/blob/v0.3.0/lib/N3Lexer.js#L99-L126)
and I'm certainly not in favor of that :-)

Best,

Ruben

Received on Tuesday, 12 August 2014 12:57:23 UTC