I have completed a Parser in C++ to parse out a Wirth's PL/0 source code file. The next stage, is to use flex AND bison to create a translator {compiler} for the PL/0 file and should accept PL/0 code as input and output an equivalent C language source code file that will compile and execute successfully. Optionally the PL/0 source code file can be extended to allow the following constructions: 1) comments ( I have done ), 2) a REAL type or a BOOLEAN type, 3) input / output statements, 4) a string type. I already have the source code files in C++, Makefile, [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL], [login to view URL] [login to view URL] etc. + the associated header files. It compiles and creates a parsed pl0 file, no problem. I was told that the use of extern "C" at some point would eliminate the errors of name mangling. So there is very little left to be done; however, other commitments are taking away from this and I fear I will not be able to complete the project before the deadline of 28 April 2004.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
## Platform
I am running on an Hewlett-Packard Pavilion XT933 the operating system is Mandrake 10.0 gcc 3.3.2