Re: Yacc grammar for HTML/XML/WML (Marc Wachowitz)
13 Jul 1998 23:41:38 -0400

          From comp.compilers

Related articles
Yacc grammar for HTML/XML/WML (Terry Robinson) (1998-07-10)
Re: Yacc grammar for HTML/XML/WML (Quinn Tyler Jackson) (1998-07-11)
Re: Yacc grammar for HTML/XML/WML (1998-07-13)
Re: Yacc grammar for HTML/XML/WML (Pierre Mai) (1998-07-20)
| List of all articles for this month |

From: (Marc Wachowitz)
Newsgroups: comp.compilers
Date: 13 Jul 1998 23:41:38 -0400
Organization: ---
Keywords: WWW, parse

Terry Robinson <> wrote:
> Does anyone have a grammar for Yacc/Bison for a real mark-up language
> like HTML or WML (XML needs a document type definition to define a
> language - well normally) or know where one can be gotten ?

Just in case "Yacc/Bison" is merely your assumption how a parser would
be written, while the real problem is just to get some parser for these
languages: As long as the text follows a DTD, you could use nsgmls or
directly the underlying C++ interface of SP, James Clark's SGML parser:

-- Marc Wachowitz <>

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.