[uf-dev] How do we (want to) document parsing?

Scott Reynen scott at randomchaos.com
Wed Jun 11 17:58:53 PDT 2008


On [Jun 11], at [ Jun 11] 3:31 , anders conbere wrote:

>> We don't have uploading enabled on the wiki, so it's here:
>> -ward.co.uk/microformats/value-excerption-pattern/ 
>> ValueExcerptionParseFlowChart.png
>
> I'm not getting an image back here.

I believe it's here:

http://ben-ward.co.uk/microformats/value-excerption-pattern/ValueExcerptionParseFlowChart.png

> I've been a big fan of representing the parsing rules in terms of
> claim or triples. This is how rdf describes it's parsing rules, and
> allows for easily codified tests.

I'm not clear on how that would work with microformats.  I can see how  
triples could be used for testing, as the result a parser should get,  
but I'm not clear on how they could be used for describing the process  
by which a parser should arrive at that result, which seems to be what  
Ben is seeking.  If you still think that would work after looking at  
Ben's flow chart, could you maybe translate it into triples as a  
demonstration?

Peace,
Scott



More information about the microformats-dev mailing list