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

Negative numbers in numeric literals #8

Open jrschmidt opened 9 years ago

jrschmidt commented 9 years ago

We should probably implement negative numbers in numeric literals. Examples:

100 T=-50 120 if Y<=-5 THEN 300

jrschmidt commented 9 years ago

Labeling this as a 'question' right now, until I do some research as to how the original platforms handled negative numeric literals and their syntax.