BCPLCTSS.git
3 months agoChange comparison operators to produce -1 as truth value instead of 1 master
Nick Downing [Wed, 10 Jan 2024 09:14:42 +0000 (20:14 +1100)]
Change comparison operators to produce -1 as truth value instead of 1

3 months agoIn /ocode_vm.py in bcd_to_str(), only left-strip and only spaces not tabs etc
Nick Downing [Wed, 10 Jan 2024 03:48:27 +0000 (14:48 +1100)]
In /ocode_vm.py in bcd_to_str(), only left-strip and only spaces not tabs etc

3 months agoRemove Nick comments from a couple of BCPL files that were clearly wrong before
Nick Downing [Wed, 10 Jan 2024 03:23:59 +0000 (14:23 +1100)]
Remove Nick comments from a couple of BCPL files that were clearly wrong before

3 months agoIn /ocode_vm.py, improve how stream handles are managed
Nick Downing [Wed, 10 Jan 2024 03:16:25 +0000 (14:16 +1100)]
In /ocode_vm.py, improve how stream handles are managed

3 months agoSplit /n.sh into /n.sh (creates bcpl7094 and tests it on test.bcpl) and /o.sh (create...
Nick Downing [Tue, 9 Jan 2024 09:59:52 +0000 (20:59 +1100)]
Split /n.sh into /n.sh (creates bcpl7094 and tests it on test.bcpl) and /o.sh (creates *.ocode), add /p.sh (recreates *.ocode using itself and compares), implement Setcls() and Nexcom() system calls, compiler can now compile itself

3 months agoFix a bug in prepro.bcpl with NLpending (bogus argument) vs NLPending (global)
Nick Downing [Tue, 9 Jan 2024 09:57:58 +0000 (20:57 +1100)]
Fix a bug in prepro.bcpl with NLpending (bogus argument) vs NLPending (global)

3 months agoCopy small patches from /bcpl7094/bcpl7094.b and one in the other direction
Nick Downing [Tue, 9 Jan 2024 08:36:37 +0000 (19:36 +1100)]
Copy small patches from /bcpl7094/bcpl7094.b and one in the other direction

3 months agoFix for an issue with Rexp() not returning a value, from /bcpl7094/bcpl7094.b
Nick Downing [Tue, 9 Jan 2024 08:14:09 +0000 (19:14 +1100)]
Fix for an issue with Rexp() not returning a value, from /bcpl7094/bcpl7094.b

3 months agoMerge cae.sh and trn.sh into bcpl.sh, as it appears the CAE pass launches TRN
Nick Downing [Tue, 9 Jan 2024 07:56:36 +0000 (18:56 +1100)]
Merge cae.sh and trn.sh into bcpl.sh, as it appears the CAE pass launches TRN

3 months agoMore fixes so that the CAE pass is now successful on test.bcpl
Nick Downing [Tue, 9 Jan 2024 07:40:43 +0000 (18:40 +1100)]
More fixes so that the CAE pass is now successful on test.bcpl

3 months agoAdd /cae.sh and /trn.sh which should run the compiler passes, fix bugs and add system...
Nick Downing [Tue, 9 Jan 2024 04:52:33 +0000 (15:52 +1100)]
Add /cae.sh and /trn.sh which should run the compiler passes, fix bugs and add system calls so that CAE pass can run up to the first call to Readch()

3 months agoAdd /ocode_vm.py, can execute test.bcpl, run ./ocode_vm.py --list --trace OCODE
Nick Downing [Mon, 8 Jan 2024 17:09:07 +0000 (04:09 +1100)]
Add /ocode_vm.py, can execute test.bcpl, run ./ocode_vm.py --list --trace OCODE

3 months agoPatches to make lowercase build correctly
Nick Downing [Mon, 8 Jan 2024 16:03:05 +0000 (03:03 +1100)]
Patches to make lowercase build correctly

3 months agoRename *.BCPL, *.BSS, *.FAP and the /BSS and /FAP directories to lowercase
Nick Downing [Mon, 8 Jan 2024 15:23:05 +0000 (02:23 +1100)]
Rename *.BCPL, *.BSS, *.FAP and the /BSS and /FAP directories to lowercase

3 months agoAdd build scripts and .gitignore, rebuild bcpl7094, fix and rebuild TEST.BCPL
Nick Downing [Mon, 8 Jan 2024 15:56:20 +0000 (02:56 +1100)]
Add build scripts and .gitignore, rebuild bcpl7094, fix and rebuild TEST.BCPL

3 months agoPristine unpack of http://www.cl.cam.ac.uk/users/mr10/BCPLCTSS/bcplctss.tgz md5sum...
Nick Downing [Mon, 8 Jan 2024 15:21:30 +0000 (02:21 +1100)]
Pristine unpack of cl.cam.ac.uk/users/mr10/BCPLCTSS/bcplctss.tgz md5sum 93d587297715fe7f8abce63af7d2ffa2