riedquat - valueable resource for those who seek.
Home Blog Technical Reports Art Articles RapiDocs Coding Bugs Links Reviews Projects: CherBot Daimonin Gridarta

Backus-Naur Markup Language 1.0 Specification

Riedquat Working Draft: 2011-07-16

This version:
↗http://www.riedquat.de/TR/trunk/BNFML/
Latest version:
↗http://www.riedquat.de/TR/BNFML/
Editors:
Christian Hujer, <✉cher@riedquat.de>
Authors:
Christian Hujer, <✉cher@riedquat.de>

Copyright © 2011 Christian Hujer, All Rights Reserved.

Abstract

This specification describes the syntax and semantics of BNFML 1.0, a language for expressing BNF grammars in XML.

Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current Riedquat publications and the latest revision of this technical report can be found in the ↗Riedquat technical reports index at http://www.riedquat.de/TR/.

This document is a working draft. It is published to the hacker, internet and software development communities as a request for comments. Please send your comments to <✉cher@riedquat.de>.

Table of Contents

1 Introduction

[...] BNF (Backus Normal Form or Backus–Naur Form) is a notation technique for context-free grammars, often used to describe the syntax of languages used in computing, such as computer programming languages, document formats, instruction sets and communication protocols.

[WIKI_BNF]

Extensible Markup Language (XML) is a set of rules for encoding documents in machine-readable form.

[WIKI_XML]

This specifiation provides a language for expressing BNF grammars in XML. This shall enable processing of BNF grammars with XML based tools. The use case in mind is markup of BNF in specifications which are written in XML based languages such as XHTML or DocBook. However, other use cases might exist and are not excluded by this specification.

2 Variants of BNF

There are many different variants of BNF. BNFML 1.0 is designed with three variants in mind: [XML_NOTATION], [ISO/IEC 14977:1996], [RFC5234].

3 References

XML_Notation
↗Extensible Markup Language (XML) 1.0 (Fifth Edition), 6 Notation. Tim Bray, Jean Paoli, C. M. Sperberg-McQueen, Eve Maler, François Yergeau. (See http://www.w3.org/TR/2008/REC-xml-20081126/#sec-notation)
ISO/IEC 14977:1996
↗ISO/IEC 14977:1996 Information technology - Syntactic metalanguage - Extended BNF
 . 
..: