1 Dec 2001 nymia   » (Master)

Text Files Galore

Been playing with idea of how will I write out the contents of a parse tree to a text file. Might use simple statements to denote definitions and relationships.

Since it will be written out to a text file, an intermediate language grammar will have to be written for reading and writing out files in text format . The output file will be similar to an assembler syntax, except most of the definitions or references to internal and external symbols are names instead of numbers.

Will try to see if the input-process-output model is enough to make development and maintenance sane enough for one developer. The figure below shows how it will be partitioned.

       c source --> C grammar  -->  parse tree  
       parse tree  -->  IL 1 grammar --> asm like syntax 
      asm like syntax  --> IL 2 grammar -->  IA32 asm
      IA32 asm   --> assembler  --> binary format

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!