Re: Yacc grammar for HTML/XML/WML

mw@ipx2.rz.uni-mannheim.de (Marc Wachowitz)
13 Jul 1998 23:41:38 -0400

          From comp.compilers

Related articles
Yacc grammar for HTML/XML/WML terry.robinson@ibm.net (Terry Robinson) (1998-07-10)
Re: Yacc grammar for HTML/XML/WML qjackson@wave.home.com (Quinn Tyler Jackson) (1998-07-11)
Re: Yacc grammar for HTML/XML/WML mw@ipx2.rz.uni-mannheim.de (1998-07-13)
Re: Yacc grammar for HTML/XML/WML dent@dent.isdn.cs.tu-berlin.de (Pierre Mai) (1998-07-20)
| List of all articles for this month |
From: mw@ipx2.rz.uni-mannheim.de (Marc Wachowitz)
Newsgroups: comp.compilers
Date: 13 Jul 1998 23:41:38 -0400
Organization: ---
Keywords: WWW, parse

Terry Robinson <terry.robinson@ibm.net> 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:
http://www.jclark.com/


-- Marc Wachowitz <mw@ipx2.rz.uni-mannheim.de>
--


Post a followup to this message

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