|Building a string translator... email@example.com (1994-03-16)|
|From:||firstname.lastname@example.org (Jeroen Huitink)|
|Date:||Wed, 16 Mar 1994 07:53:30 GMT|
I am a graduating student in Computer Science from the Eindhoven Polytechnic
in the Netherlands. Right now I am working on my thesis, where I have to build
This tool will have to translate strings, including font information, from
a word processor format (binary) to a special text string format. During this
translation it is important to keep the compiler as flexible as possible, to
serve future exapansion. The number of fonts and the character sets on both
the in- and output-side will change constantly in the future.
To meet these requirements, I see some options. I would like some comments on
them, maybe of someone dealing or having dealt with the same problem, and
maybe someone even has some other alternatives.
1) Constructing one big translation table. The problem here is its size
Right now it would result in a table of aprox. 800 * 1300 cells.
2) Making an intermediat meta-language, which is not font dependent.
3) Constructing a datastructure, simular to the meta-language. The disadvantage
would be no possiblilty to read from this.
Looking formward to your replies,
Philips Consumer Elelctronics, TV laboratories
Return to the
Search the comp.compilers archives again.