PowerLoom's BNF usage

Rich Morin <[email protected]> Thu, 3 Jul 2008 17:14:24 -0700
Newsgroups gmane.comp.ai.powerloom
Message-ID <p06230984c493196a561c@[192.168.1.205]>
I've been digging into Chapter 11 of the manual, in order to
write a second-level parser (ie, recognize logsent, etc.).

The BNF isn't exactly standard (or even correct in some places),
so I have been getting confused about some rather basic things.
Can someone confirm or deny (and then clarify) these statements?

asterisk "*"

  An asterisk means "zero or more of this item".

braces "{...}"

  Braces mean "zero or more of these items".

brackets "[...]"

  Brackets mean "zero or one of these items".

parentheses "(...)"

  Parentheses stand for themselves,
  rather than acting as grouping operators.

plus sign "+"

  A plus sign means "one or more of this item".

-r
-- 
http://www.cfcl.com/rdm            Rich Morin
http://www.cfcl.com/rdm/resume     [email protected]
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, and web development