Re: first pass implementation of Mark's chaining rules

Ben,

I have also implemented the parser (not installed yet, only on my
machine) but I do not know what the exact rules for @instanceof are, so
that is still missing. Can you give me a succinct, procedural definition?

Thanks

ivan

Ben Adida wrote:
> 
> Hi all,
> 
> I did a first pass implementation of Mark's chaining rules in my
> JavaScript library. It was easier than I thought, though the code is
> still a bit ugly and needs a cleanup.
> 
> Note that I also checked in a patch by Jeni Tennison that re-enabled a
> number of edge cases that my last rewrite had missed. Thanks Jeni.
> 
> The result is surprisingly pleasant. Mark, I have to hand it to you,
> this feels right.
> 
> Here's the GetN3 bookmarklet (works in FF2 and Safari3 for sure, not
> sure about IE yet):
> 
> http://www.w3.org/2006/07/SWD/RDFa/impl/js/
> 
> Here's a test page that has the kind of deep nested statements I've been
> aching to write:
> 
> http://www.w3.org/2006/07/SWD/RDFa/impl/js/test.html
> 
> Try out the GetN3 bookmarklet, see if you're as pleasantly surprised as
> I was.
> 
> -Ben
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf

Received on Wednesday, 5 December 2007 10:59:41 UTC