~crc_/napia-pl0

PL/0 Compiler for Napia
minor clarifications in comments
update README
run black to reformat code

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~crc_/napia-pl0
read/write
git@git.sr.ht:~crc_/napia-pl0

You can also use your local clone with git send-email.

#PL/0 Compiler for Napia

  • Copyright (C) 2012 Samuel G. D. Williams.
  • Updates Copyright (C) 2016 - 2021 Charles Childers
  • Released under the MIT license.

This is based on Samuel Williams's PL/0 Language Tools. The language 'PL/0' was originally introduced in the book "Algorithms + Data Structures = Programs", by Niklaus Wirth in 1975.

#Installation

Install ply:

sudo easy_install ply

Then, simply download the files pl0_*.py and run them.

#Basic Usage

./pl0_napia.py examples/fibonacci.pl1 > fibonacci.rohi
rohi fibonacci.rohi
napia