Changes between Version 6 and Version 7 of PIRCDevelopment

Show
Ignore:
Timestamp:
08/05/09 18:23:58 (5 years ago)
Author:
kjs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PIRCDevelopment

    v6 v7  
    22 
    33PIRC 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. 
     4 
     5PIRC is located in compilers/pirc. In order to compile, do the following: 
     6 
     7{{{ 
     8cd compilers/pirc 
     9make 
     10make test 
     11}}} 
     12 
     13At this point (August 5, 2009) some tests are failing, so don't be alarmed if you see them failing.  
     14 
     15In order to run PIRC: 
     16 
     17{{{ 
     18./pirc -h 
     19./pirc -b test.pir # will generate a file a.pbc 
     20}}} 
     21 
     22Enjoy! 
    423 
    524= PIRC Status =