Phonecode Program


The Phonecode program was devised by Lutz Prechelt for comparing versions written in several programming languages.


The Gilda implementation consists of 5 files. The code is well commented and includes error handling to demonstrate the use of Gilda's exception handling mechanism. The partial.g procedure is an example of using a Sequence.


There are also two files that were automatically generated from "phonecode.g" using the new.gilda.exe program. The phonecode.clg; file was also generated and then modified by hand.


Here is a zip file with all the files, test data, and a Windows executable. If you feed illegal input into the program you will be able to see the exceptions being processed.