[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interactive parsing with Bison

From: Frans Englich
Subject: Re: Interactive parsing with Bison
Date: Tue, 27 Jun 2006 13:52:18 +0000
User-agent: KMail/1.8.50

On Tuesday 27 June 2006 13:18, Akim Demaille wrote:
> >>> "Satya" == Satya  <address@hidden> writes:
>  >
>  > Yes, there is a lot of information in the .output file we could use;
>  > but this is intended for a human reader;
> This file is really obsolete, even for the human.  It should be an XML
> file, with XSLT transformations towards HTML and text.  I have always
> been annoyed to have to play with C-s under my editor (guess its
> brand) where I want to be able to click on the symbol.  There should
> be many many cross-references in that file.
> So it would made a lot of sense to design an appropriate XML output
> format, both for other programs and users.

That sounds like a flexible and portable solution to me. I suggest the XML 
format is specified in a W3C XML Schema, so it's well defined, is possible to 
regression test output, and so on.

However, I would think twice before implementing any XHTML/HTML 
export(although XSL-T is an excellent tool for that of course). I would 
consider implementing it inside Doxygen because it's a broadly used 
documentation framework, supports multiple output formats(PDF, XHTML, etc), 
and the parser documentation would be integrated with the rest of the 

In either case, I think it's clear how useful a modularized approach is, where 
whatever interface Bison exposes(XML, API, etc) can be integrated into 
different software projects.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]