CPascal.atg

Jun 13, 2013 at 7:06 PM
Hi all.

Where is CPascal.atg file? It seems like source code is incomplete.

Thanks, Alexey.
Coordinator
Jun 14, 2013 at 8:16 AM
Edited Jun 14, 2013 at 8:31 AM
Sorry valexey. There is no atg file.

The origins of the recursive descent parser are as follows. I wrote a CPascal.atg file for a subset of Component Pascal. I compiled this with the Modula-2 version of COCO/R. I then hand-translated the Modula-2 parser that COCO/R produced, rewriting it in Component Pascal. I then used that parser to bootstrap the JVM prototype of the compiler.

The JVM compiler for the CP subset was used to bootstrap the present version of GPCP, which was completed by July 2000 in time for the launch of the .NET system at the Microsoft PDC. The version of the parser used by July 2000 was created by manually editing the original source. The atg file has never been upgraded for the full language or for the current abstract syntax form that GPCP uses. So far as I know I do not even have a copy of the original atg file that I used back in 1998.

John.
Jun 14, 2013 at 8:38 AM
Thank you for clarification.

Alexey.