Changes between Version 1 and Version 2 of PIRCDevelopment

Show
Ignore:
Timestamp:
08/05/09 10:03:19 (5 years ago)
Author:
kjs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PIRCDevelopment

    v1 v2  
    1 PIRC Introduction 
     1= PIRC Introduction = 
    22 
    3 PIRC Status 
     3PIRC is a fresh implementation of the PIR language. It was developed as a replacement for the current PIR compiler, IMCC. The lexer and parser are implemented with Flex and Bison specifications. During the parsing phase, a data structure is built that represents the parse. After the parse, this data structure is traversed and for each instruction the appropriate bytecode is emitted. 
    44 
    5 PIRC Development Tasks 
     5= PIRC Status = 
     6 
     7PIRC is not complete yet. All stages are implemented (lexer, parser, bytecode generator), but all of them need some additional work to complete them. 
     8 
     9 
     10= PIRC Development Tasks = 
     11 
     12* Fix parser to accept syntax such as:  
     13{{{ 
     14$P0 = new ['Integer'] 
     15}}} 
     16 
     17* Convert all C strings in PIRC into STRINGs. All identifiers and strings that are scanned should be stored as STRING objects, not C strings. 
     18 
     19* Fix bugs related to storing NUM and STRING constants. In certain cases, the generated bytecode is not correct. (tickets will follow shortly)