basic
basic copied to clipboard
:tv: A from-scratch BASIC interpreter with a focus on being easy to extend and port.
GCC uses unsigned for enum, unless the enum includes explicit negative assignments. MSVC appears to default to signed. Bitpacking here creates errors if the enum is signed because the maximum...
Using this statement: ``` PRINT 1 : PRINT 2 ``` It is expected that the interpreter will evaluate both PRINT statements but only the first one is. On the other...
The following program loops forever: ``` 10 X=5 20 PRINT X 30 X=X-1 40 IF X>0 THEN GOTO 20 ``` The IF statement doesn't produce an error but also doesn't...
Many changes in the whole project, but mostly: - re-establish Windows and Linux as primary targets, hopefully you can fix up the OSX one. - split up the BASIC module...