« Return to Thread: PowerLoom's BNF usage

PowerLoom's BNF usage

by Rich Morin :: Rate this Message:

Reply to Author | View in Thread

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     rdm@...
http://www.cfcl.com/rdm/weblog     +1 650-873-7841

Technical editing and writing, programming, and web development
_______________________________________________
powerloom-forum mailing list
powerloom-forum@...
http://mailman.isi.edu/mailman/listinfo/powerloom-forum

 « Return to Thread: PowerLoom's BNF usage

LightInTheBox - Buy quality products at wholesale price!