Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

PL0

A moderately refactored version of N. Wirths PL/0 Pascal implementation.

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

PL0

A moderately refactored version of N. Wirths PL/0 Pascal implementation.

  • Changed to use file given on command line instead of reading stdin.
  • Divided to units: main, defs, parser, codegen, interpreter.
  • Added textual error messages to parser (in addition to error number)
  • Added ? (read) and ! (write) functionality.
  • Changed some variable and constant names to be (imo) more understandable.
  • Project files for Lazarus included.