zxbasic
zxbasic copied to clipboard
The Sinclair ZX Spectrum BASIC compiler!
[In Docs » Reserved Words:](https://github.com/boriel/zxbasic/tree/master/docs/return.md) ``` WARNING: Using RETURN in global scope without a GOSUB will mostly crash your program. Use --stack-check if you suspect you have this bug, to...
Does the compiler work on ZX Spectrum only? Does it support ZX80, ZX81 BASIC? if it's not, is there future projects to add compatibility for those machines?
The INPUT command generates a flashing cursor but is otherwise unresponsive. Tested with the example file: ``` #include print at 10, 5; "Type something: "; a$ = input(20) print print...
I find this for loop repeats, only happens if to is set to 255 ``` for x = 0 to 255 print at 0,0;x pause 1 next x pause 0...
And maybe in the future do some basic game :D But, I wonder, is there out there a repo of ZX basic ? That is, magazine games, book games, etc...
If not too much trouble. Would be useful for things like this: https://github.com/kosarev/zx/issues/11 .
it would be nice if myvar=myvar+1 could be expressed in a shorter way: myvar+1 or myvar++ or Inc myvar As when strings names are large doing simple increments can start...
You have GPLv3 in the repo. You link to a GPLv3 button on the README. You say it's LGPL-llke. You have some Emacs-commune like requirements.
I am now getting a binary collision Warning but it does compile. Bu does not work