From: naudts g. <nau...@ya...> - 2004-09-02 10:51:57
|
Hallo Antonio, I indeed did not implement these parts of the specification, as I did not find these features very usefull except for []). See further my comments after your text. Now the specification I give in my source code is a specification but there are others and there is really no official spec (it should have to be made) so I try to follow what Berners-Lee writes in his introduction to N3. See for specifications: www.w3.org/DesignIssues/Notation3.html I started also translating my parser to Javascript. Are you doing the same thing? Or planning to do so? Does it make sense that I make a translation? If I do, I will add the missing features. --- ant...@4c... wrote: > Hallo Naudts. > > As you recommended to us we are on N3 parser in > JavaScript (trying to work > it out at least) and we are using your N3 parser as > a guide. > > But there are a couple of questions it would be > nice if you give us a > hint about how to use then and how they should be > treated. > Well it's just enough if you tell us where do you > find this specification. > > > a)Line 2046 > # verb ::= ">-" prop "->" # has xxx of > # | "<-" prop "<-" # is xxx of > I implemented the forms: :s has :p of :o. and :s is :p of :o. So I could easily implement also the ">-", "->", "<-" and "<-" by treating them just the same but does this add much? Well, for completeness sake I ought have done it, but I never did. > b)Line 2074 > # property_list ::= void # to allow [...]. > # | verb space+ object_list > # | verb space+ object_list space+ > ";" space+ property_list > # | ":-" anonnode #to allow two > anonymous forms to be > given eg [ a :Truth; :- { :sky :color :blue } ] ) > # | ":-" anonnode ";" property_list > # ; > I did not implement []. Still missing. [] is equal to the false value; it comes today in place of log:falseHood; I know Jos De Roo uses it.(Correct me Jos if I am wrong) The ":-" is another feature of the specification which I did not implement as I thought this to be totally superfluous.For its meaning see: http://infomesh.net/2002/notation3/ Cheers, Guido. > Thanks. > Cheers > Antonio > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail |