Ruscal is a fairly-complete and well-tested Turbo Pascal to Rust transpiler, so you can run your old Turbo Pascal programs on modern computers. It supports mixing Rust and Turbo Pascal, embedding either way. It also supports graphics, including turtle graphics. I also included tools for pretty printing Turbo Pascal and converting old binary files to JSON. Great pain was taken to ensure accuracy with the original Turbo Pascal.
Comments
jjinux•9m ago
Ruscal was written by Claude Code Opus with help from Claude Code Fable and a lot of input from me over a period of weeks. Claude wrote lots of programs to test behavior under Free Pascal and the original Turbo Pascal 7 running under DOSBox to ensure Ruscal ran with a high degree of accuracy. It's very well tested.
I was able to run my original Turbo Pascal code, including graphics, and it was even able to read the binary files created by Turbo Pascal back in the day.
jjinux•9m ago
I was able to run my original Turbo Pascal code, including graphics, and it was even able to read the binary files created by Turbo Pascal back in the day.