Discussion:
Expressing SGML syntax in EBNF
(too old to reply)
Stuart Tanner
2004-11-25 07:21:08 UTC
Permalink
Hi,

Is it possible to express the syntax of SGML in Extended Backus-Naur Form?

- Stuart
Paulo Tibúrcio
2005-01-01 23:56:27 UTC
Permalink
Post by Stuart Tanner
Is it possible to express the syntax of SGML in Extended Backus-Naur Form?
Maybe. Please see

<http://xml.coverpages.org/topics.html>

Especially in section

<http://xml.coverpages.org/topics.html#productions>

you may find the Standard's productions in a form that looks like BNF
(many dead links, though).

In this other section

<http://xml.coverpages.org/topics.html#cfg>

you may find some discussions on the feasibility of BNFing SGML.

--
Paulo Tibúrcio
Stuart Tanner
2005-01-06 13:57:55 UTC
Permalink
Post by Paulo Tibúrcio
Post by Stuart Tanner
Is it possible to express the syntax of SGML in Extended Backus-Naur Form?
Maybe. Please see
<http://xml.coverpages.org/topics.html>
Especially in section
<http://xml.coverpages.org/topics.html#productions>
you may find the Standard's productions in a form that looks like BNF
(many dead links, though).
In this other section
<http://xml.coverpages.org/topics.html#cfg>
you may find some discussions on the feasibility of BNFing SGML.
--
Paulo Tibúrcio
Thanks. The last link was the answer to my (rather poorly expressed)
question.

- Stuart
Peter Flynn
2005-01-08 22:12:11 UTC
Permalink
Post by Stuart Tanner
Post by Paulo Tibúrcio
Post by Stuart Tanner
Is it possible to express the syntax of SGML in Extended Backus-Naur Form?
[...]
Post by Stuart Tanner
Post by Paulo Tibúrcio
<http://xml.coverpages.org/topics.html#cfg>
you may find some discussions on the feasibility of BNFing SGML.
--
Paulo Tibúrcio
Thanks. The last link was the answer to my (rather poorly expressed)
question.
See also the Fred program from OCLC, which can display SGML syntax in BNF.
There's an example in my book[1].

///Peter
1. Understanding SGML and XML Tools, Kluwer, 1998. 0-7923-8169-6
--
"The cat in the box is both a wave and a particle"
-- Terry Pratchett, introducing quantum physics in _The Authentic Cat_
Loading...