KDF9 Usercode on the Web

N.B.Tentative proof-of-concept version.

There is some info that might be useful here (opens in a separate window or tab).
Here is the KDF9 Userode Programming Manual

Type in your Usercode program (paper tape format) here:

Choice of Usercode compiler
Version using original Paper Tape Usercode Compiler
Version using a 21st century Usercode translator written with yacc and C.
The output shows the program as it would have looked on a real KDF9 Flexowriter, preceded by links to the printer output and other useful files. There are also links to original documentation describing meaning of error reports.
There is a listing output by the compiler on a simulated line-printer.
The diagnostic output is sent to a file.

There are various example programs that are rather more interesting. Just click here, and select the text of the one that appeals to you, do a control-C, and then click back to get to this page, where you can now paste in this program.

Information on the compiler’s error reports is avainable in these pages;
        p6  p7  p8
The format of the reference tables is descripted in p9.

To run the program that you have just Compiled

If your program reads data on the paper tape reader, type your data in here:

Switches for the emulator: (To learn about these switches read the first few lines of the emulator.)
The diagnostics log is normally sent to a file. If you are running a very small program such as “Hello World!”, you can remove the -d switch above, and have all the diagnostic output coming back to your screen. For running a more realistic program, not only do you need to send the diagnostics to a file using the -d switch, but you should reduce the verbosity level. For examples, look at the use of the emulator switches on the compilation sections.

Here are some links that might be useful.

response from the most recent compilation
output from the conversion to Algol Basic Symbols
diagnostic trace of the compilation
Usercode output by the compiler
line-printer output from the compilation
output on the UNIX console (quite possibly blank)
printer output before conversion to HTML
diagnostic trace from the KDF9 emulator
output on the KDF9 monitor flexowriter
stream 30 output from the program
directory listing of the emulator environment
Alternatively, you can create a Usercode file (paper tape format) and upload it here:
File to upload and run:       
Sorry this option does not allow you to choose the compiler, but you can do a rerun using the facility at the foot of this page. The default is to use the original compiler.

Rerun the compilation with different compiler options

Here you can re-run a file that was uploaded earlier
Version using original Paper Tape Usercode Compiler
Version using a 21st century Usercode translator written with yacc and C.