- From: Dan Connolly <connolly@w3.org>
- Date: Fri, 31 Aug 2001 21:43:21 -0500
- To: amitp@theory.stanford.edu, www-archive@w3.org
Amit, I had fun hacking with Yapps today... A while ago, I transcribed a grammar from one of TimBL's design notes (http://www.w3.org/DesignIssues/Notation3) into a recursive-descent parser in python (http://www.w3.org/2000/10/n3/notation3.py). Tim picked that up and went totally out of control hacking on it (http://www.w3.org/2000/10/swap/ , http://www.w3.org/2000/10/swap/notation3.py). A few other folks are starting to look at the code, so I started to get embarrased and looked for cleaner designs. I did it once based on SPARK http://www.w3.org/2000/10/swap/n3spark.py but when I started to write the actions, I found SPARK's bottom-up parsing style didn't match well. I tried it in Yapps today, and the top-down attribute grammar approach was a really nice fit. http://www.w3.org/2000/10/swap/rdfn3.g Thanks for the nifty code to work with and the nice docs! See also notes I made in the RDF IG scratchpad today http://rdfig.xmlhack.com/index.html#999280333.006850 soon to be moved to/archived at http://rdfig.xmlhack.com/2001/08/30/2001-08-31#999280333.006850 http://rdfig.xmlhack.com/2001/08/30/2001-08-31.html#999280333.006850 p.s. by copying www-archive, I'm saying it's find to forward this wherever you like, and it will get archived in case you, I, or anybody else wants to point to it. http://lists.w3.org/Archives/Public/www-archive/ -- Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 31 August 2001 22:43:24 UTC