Multiple data format Writer/Reader

"Xavier Huet" <>
23 Apr 2002 00:02:28 -0400

          From comp.compilers

Related articles
Multiple data format Writer/Reader (Xavier Huet) (2002-04-23)
| List of all articles for this month |

From: "Xavier Huet" <>
Newsgroups: comp.compilers
Date: 23 Apr 2002 00:02:28 -0400
Organization: Siemens AG, Munich
Keywords: question
Posted-Date: 23 Apr 2002 00:02:28 EDT

Hi there,

I am stuck to a software achitecture problem for Reader/Writers. We
have a system with a lot of formats around. we need then to have
reader And Writer for these format.

We have a clear picture for the reader part. We think having a Builder
linked to our parser engine for each format. Applications of our
system will be able to apply their own Builder (or take a pre-built
one) for their spelcial purpose (some applications need only to filter
some token, some apps nned to feed a data-structure and navigate thru

For the Writer part, we will like the same openess. We do not want to
lock the writer to a "central" data-strucutre. But we also want the
Writer to be exact. If we provide an Writer interface with differents
methods to write differents element of the syntax, it's not enough
since nothing can prevent the apps to call this methods without
respecting the syntax. What we like is something that manage this
correctness. (like the parser in the reader part). We thought about a
Syntax tree. But this means that apps will have to transform their DS
to a Syntax tree in memory and so we can hit performance problem (BIG
files in our domains).

So could you point to me good articles, good web sites that could enlight me


Post a followup to this message

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