bascat
is a program to print out tokenized gwbasic .BAS files in ASCII.
There are actually a fair amount of .BAS files out there in the default tokenized
format, but you'd need a working GWBASIC/BASICA to see the source.
It was possible to save your file encrypted in GW-BASIC, and I found the decryption algorithm in the PC-BASIC project. So, I implemented that decryption scheme... however I do not have any encrypted BAS files to test it on, so I don't know if it works.
The documentation I used for the tokenized file format was here: http://chebucto.ns.ca/~af380/GW-BASIC-tokens.html.
I've written BasCat in multiple languages as a learning exercise.
Most of them are in this very repo, in different branches. Check
them out!