Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #2140 > unrolled thread

Retrocomputing: SUNY Stony Brook Pascal compiler written in XPL

Started byShoefoot <shoefoot@gmail.com>
First post2018-12-24 02:36 -0800
Last post2019-01-22 10:03 -0800
Articles 2 — 1 participant

Back to article view | Back to comp.compilers


Contents

  Retrocomputing: SUNY Stony Brook Pascal compiler written in XPL Shoefoot <shoefoot@gmail.com> - 2018-12-24 02:36 -0800
    Re: Retrocomputing: SUNY Stony Brook Pascal compiler written in XPL Shoefoot <shoefoot@gmail.com> - 2019-01-22 10:03 -0800

#2140 — Retrocomputing: SUNY Stony Brook Pascal compiler written in XPL

FromShoefoot <shoefoot@gmail.com>
Date2018-12-24 02:36 -0800
SubjectRetrocomputing: SUNY Stony Brook Pascal compiler written in XPL
Message-ID<18-12-012@comp.compilers>
The SUNY Stony Brook Pascal compiler was written in the mid 70's by the
Department of Computer Science at the State University of New York.  The
compiler was written in XPL and uses an LL(1) parser to generate code for
the IBM/360.  This is a three pass compiler that includes a Post Mortem Dump
program to help diagnose failing code.

The XPL compiler which came from SUNY closely resembles the XPL compiler
described in the book "A Compiler Generator" by McKeeman, Horning and Wortman.
Unlike the original XPL compiler this compiler does not use an MSP parser.  The
parser is probably SLR or LALR(1).  The Analyzer used to generate the tables was
not included in the release from SUNY.  This compiler generates code for the
IBM/360.

The code generated by both the Pascal and XPL compilers can be run on the
IBM/360 simulator.  The simulator, which was not part of the release from SUNY,
is written in C and can run on most machines that have a C compiler.  The
simulator has an EBCDIC translator that allows it run executables from the
original release tape.

The compilers can be found here:
https://sourceforge.net/projects/suny-pascal/

[toc] | [next] | [standalone]


#2150

FromShoefoot <shoefoot@gmail.com>
Date2019-01-22 10:03 -0800
Message-ID<19-01-008@comp.compilers>
In reply to#2140
Release 2019/1/13

Documentation has been added to describe the port and give
information on how to used the compiler.

Pascal RELEASE 1, UPDATE 4, REV 2
  1) Fix SIN() and COS() functions.
  2) Implement ARCTAN(), EXP(), LN(), SQRT(), GET() and PAGE().

PMD Post Mortem Dump
  1) Force the simulator to stop after PMD executes.

XPL compiler version 4.5w2
  1) Fix opcode size for BXH, BXLE, SVC, SSM and LPSW.
  2) Fix CASE information when the keyword END is in lower case.
  3) Extend the disassembler to work with inline code.

Simulator Rev: 1.0
  1) Rewind() will check for files that are not open.
  2) XPL support functions will use reg 12 as a return address
  3) Implement BXH and BXLE.
  4) Fix opcode size for BXH, BXLE, SVC, SSM and LPSW.
  5) Pass command line options to EBCDIC XPL programs.
  6) Add a --version option.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.compilers


csiph-web