Re: [RIF] homework for 10/17 telecon

Small observation:

Do you make a difference between 0-ary functions and constants on purpose?

Otherwise, you should replace:

Expr       ::= Fun '(' TERM* ')'

with

Expr       ::= Fun '(' TERM+ ')'

Similarly for relations vs propositions:
Do you intend to write 0-ary atoms

p or p()

if the former shall be preferred, the grammar shall change ATOM to:

Atom       ::= Rel | Rel '(' TERM+ ')' | TERM '=' TERM

best,
Axel

-- 
Dr. Axel Polleres
email: axel@polleres.net  url: http://www.polleres.net/

Received on Tuesday, 17 October 2006 10:23:52 UTC