I created a ZX Spectrum BASIC compiler (compiles from BASIC to ZX Spectrum machine code).
You might want to give it a try and run the programs in your device: https://github.com/boriel-basic/zxbasic
You might want to give it a try and run the programs in your device: https://github.com/boriel-basic/zxbasic