where do I send a bug in n3.n3/n3p.py?

I was integrating n3p.py with cwm. I got it working, and in the process, 
I ran into that the file:

{@forAll :x . :x :a :b} :v :c .

did not parse. The error was:

[syosi@yosi n3p]$ python2.4 n3proc.py noparse.n3
prodBranch {u'a': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'"': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'{': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'@this': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'(': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'+': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'-': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'0': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], 
u'@keywords': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'@prefix': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'_': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], 
u'@forSome': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'@forAll': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'[': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u':': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'}': [], 
u'<': ['http://www.w3.org/2000/10/swap/grammar/n3#statementlist'], u'?': 
['http://www.w3.org/2000/10/swap/grammar/n3#statementlist']}
Traceback (most recent call last):
  File "n3proc.py", line 570, in ?
    main()
  File "n3proc.py", line 566, in main
    parse(args[0], options)
  File "n3proc.py", line 541, in parse
    p.parse()
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 91, in parse
    self.parse(term)
  File "n3proc.py", line 134, in parse
    super(N3Processor, self).parse(start)
  File "/home/syosi/tarballs/n3p/n3p.py", line 77, in parse
    raise Exception("Found %s when expecting a %s" % (tok, prod))
Exception: Found @ when expecting a 
http://www.w3.org/2000/10/swap/grammar/n3#formulacontent



Yosi Scharf

Received on Thursday, 20 January 2005 03:07:25 UTC