PCPC.LOG      Journal on Post's Conservative Pascal-C Converter        G. Post

27 Feb 91:
----------
  Test version promoted  0.1 --> 0.2.
  First successful self-test: PCPC under Turbo Pascal 4.0  translates the 7
  modules (pascannr,semanti5,pmachine,cdeclara,cnesting,cbulk,getunits,pcpc)
  of its own code in 16 minutes (options {$R+,S+} , AT clone at 8 MHz ).
  Post-processor REORD2. Compiler Turbo C 1.0 (large model).
  Linker Microsoft Link under MSDOS 3.3: 1 fixup overflow error, ignored.
      Linker command file was:
---------------------------------------------------------------
\turboc\c0L+convpac+
pascannr+semanti5+cdeclara+cnesting+cbulk+pmachine+getunits+pcpc
pcpc  /stack:50000
pcpc
\turboc\emu+\turboc\mathL+\turboc\cL
;  Usage:  link @pcpc.msl
;  4 entry lines: .OBJectFiles, .EXEfile, .MAPfile, .LIBraries.
;  for math stuff, start last line with: \turboc\emu+\turboc\mathL+
------------------------------------------------------------------------
  "Bootstrap" Ok: The 100% C version PCPC.EXE handles the 7 Pascal modules in
  less than 8 minutes: identical results checked by FC.  One serious Bug:
  it doesn't manage the heap with RELEASE, one single command-line argument
  is allowed.

10 Mar 91:
----------
  Grammar check utility Chekgram: the state-table driven LL(1) parser works!
  New syntax definition file Grammar5.txt still has >= 2 deviations from TP4:
   - Before the ELSE clause of a CASE statement, this syntax does need a ";"
   - typecast Variables and  (pointer-valued function call)^  are NOT accepted
     to the left of an assignment (severe error)
     and as an argument to the @-operator (minor bug).
  Very clumsy enhanced grammar would help. LALR more elegant ?
  A stub semantic action "forbidden" flags unimplemented features: work on
  semantic actions and translator code for them is in progress.
  The Scanner still lacks a lookahead buffer and misses 2 more TP4 features:
   - the old control character syntax ( ^C ^[ ...)
   - the Qualified Identifiers <unitId>.<identifier>

1 May 91:
---------
  After too many system crashes with the Turbo C 1.0 compiler (experienced
  with C files bigger than 1000 lines, in the Integrated Environment)
  I switched to my new Turbo C++ 1.0. Seems to be stable, math library has been
  included anew, no more fixup overflow on linking, Microsoft Link no longer
  necessary. The "IDE" of Turbo C++ is my official test environment now.
  Compiler options: Large Memory Model, ALL warnings enabled.
  First code size comparison: a small 2-unit Pascal program, EXE file size
  15k with TP4, was translated to C, compiled and linked with TC++: the EXE
  output had 85k !?


12 August 91:
-------------
  PCPC and REORD2 earn the version number 1.0
  Test of the pre-ANSI C version of the software on Unix system successful.
  No test yet with a Microsoft C compiler: I do not own one;  I don't want
  to buy or borrow one:  I'd hate to run out of disk space!



  Distribution of the finished program as shareware:
  America and Europe.
  US mail-order company best-known in Europe, too, for shareware:
       PC-SIG
       1030-D East Duane Avenue
       Sunnyvale, CA 94086
