jrschmidt / grandpa-basic-1980

Programming 1980 style!! This project emulates an old fashioned line-numbered BASIC language machine. On a monochrome monitor, of course, and only upper case letters. Green, or amber if you want to get fancy with third party equipment. I have started a new project to convert this to Typescript (see `typescript` branch).
http://gb80-toquima.rhcloud.com/
0 stars 0 forks source link

Saving and reloading BASIC programs. #5

Open jrschmidt opened 9 years ago

jrschmidt commented 9 years ago

Implement a way to save BASIC programs on a server, in temporary browser storage, or locally.

One thing to decide is, do we just save them as text files, or as the JSON objects that they are already converted to when they are entered ("BASIC program line objects")?

jrschmidt commented 9 years ago

It turns out that in some of the original platforms, programs could be saved in two or three formats. For example, as plain text, a tokenized file, and a sort of byte code format (they called it "pre-compiled").