[TUHS] What is the intermediate code generated by the bc interpreter?
Thalia Archibald via TUHS
tuhs at tuhs.org
Mon May 12 18:10:59 AEST 2025
On May 12, 2025, at 00:14, Angelo Papenhoff wrote:
> thanks for mentioning my project!
> I recently ported the compiler to ITS on the PDP-10 and had to revisit
> the question of the intermediate code.
> My take is that it was probably an ASCII code and not all too different
> from PDP-7 assembly.
Very interesting! Is your take on the intermediate code the cases in
pdp10_its/ba10.b:cexpr?
In your compilers, you hack in preprocessing with sed. Do you know for sure that
B had no preprocessor? It seems inconceivable now, as even `as` had constants.
> You may also want to check out my talk on B at VCFB 2024:
> https://www.youtube.com/watch?v=OLDTPlLa1bI
I just watched your talk. Now the B intermediate language makes a lot more sense
and I want to write a B compiler :).
Have you done any further archaeology work on NB since what you have at
<http://squoze.net/NB/>? How did you analyze the old tapes? Is there anything
left there to examine?
Thalia
More information about the TUHS
mailing list