Changes between Version 6 and Version 7 of PIRCDevelopment
- Timestamp:
- 08/05/09 18:23:58 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PIRCDevelopment
v6 v7 2 2 3 3 PIRC 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 5 PIRC is located in compilers/pirc. In order to compile, do the following: 6 7 {{{ 8 cd compilers/pirc 9 make 10 make test 11 }}} 12 13 At this point (August 5, 2009) some tests are failing, so don't be alarmed if you see them failing. 14 15 In order to run PIRC: 16 17 {{{ 18 ./pirc -h 19 ./pirc -b test.pir # will generate a file a.pbc 20 }}} 21 22 Enjoy! 4 23 5 24 = PIRC Status =