Applesoft BASIC in JavaScript
This is hosted for playing with at https://inexorabletash.github.io/jsbasic/
10 END : CHR$(PRINT)
LISToutput format may not behave as on an Apple:
FOR I = S TO Pdoesn't collapse into
FOR I = STOP.
PEEK,
POKEand
CALLlocations are supported.
&,
USR()etc.), shape tables, and tape I/O are not implemented.
LIST,
RUN,
DEL, etc.) are not implemented.
:and continue the previously numbered line.
DEF FNcan define string functions
==can be used as
=
CHR$()values > 255 do interesting things
HSCRN(x, y)allows probing the hi-res screen
$C010can be used as numbers