This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Tags for BNF/EBNF
- To: DocBook Mailing List <docbook at lists dot oasis-open dot org>
- Subject: DOCBOOK: Tags for BNF/EBNF
- From: Dave Makower <davemak at iclick dot com>
- Date: Fri, 17 Mar 2000 13:47:55 -0500
- Reply-To: docbook at lists dot oasis-open dot org
I'm using DocBook to create a document explaining to our developers
our conventions for constructing CVS tags. Because they're an
audience of developers, I believe they'll understand a BNF
description. Unless I've missed something, there don't seem to be
DocBook XML tags directed specifically at representing BNF grammars.
What's the best way to do something like this in DocBook? Should I
just give up on conveying such granular structure in the XML and
use something like <literallayout> with some <replaceable>s thrown
in?
ReleaseTag ::=
<ProductName>-<MajorVersion>_<MinorVersion>[_<UpdateVersion>]-<Designation>-[<Increment>]
ProductName ::= [A-Z_]+
MajorVersion ::= [0-9]+
MinorVersion ::= [0-9]+
UpdateVersion ::= [0-9]+
Increment ::= [0-9]+
Designation ::= DEV
| INTERNAL_TESTING
| ALPHA
| BETA
| RELEASE_CANDIDATE
| RELEASE
--
+-------------------------------------------------------------------+
| Dave Makower <davemak@iclick.com> |
| Manager of Portal Architecture & Development |
+--------------------------------+----------------------------------+
| iClick, Inc. | (914) 872-8030 |
| 120 Bloomingdale Road | (914) 872-8100 fax |
| 3rd Floor | (914) 872-8000 main |
| White Plains, NY 10605 | http://www.iclick.com/ |
+--------------------------------+----------------------------------+