Reference page typo a-f -> a-z?

18 views
Skip to first unread message

Pasi Hyttinen

unread,
May 23, 2015, 8:36:23 AM5/23/15
to pyda...@googlegroups.com
Hi Pierre and admins of pyDatalog web pages,

Thanks for enabling "datalog programming" in Python, I also like the documentation in web pages!

Just let you know, that there are probably few minor typos in the "Grammar of pyDatalog" section of the reference page.

There is a-f and A-F as follows:
  • simple_predicate ::= [a-fA-F_] [0-9a-fA-F_]*
  • constant ::= [a-f] [0-9a-fA-F_]* | python literals | python object
  • variable ::= [A-F_] [0-9a-fA-F_]*, thus starting with an uppercase
  • Note : words starting with _pyD_ are reserved for pyDatalog
Should probably be a-z and A-Z like:
  • simple_predicate ::= [a-zA-Z_] [0-9a-zA-Z_]*
  • constant ::= [a-z] [0-9a-zA-Z_]* | python literals | python object
  • variable ::= [A-Z_] [0-9a-zA-Z_]*, thus starting with an uppercase
  • Note : words starting with _pyD_ are reserved for pyDatalog
br, Pasi Hyttinen
Reply all
Reply to author
Forward
0 new messages