BINSIC – Binsic Is Not Sinclair Instruction Code – my effort to re-implement Sinclair ZX80/ZX81 BASIC as a domain specific language via Groovy (and eventually a runnable Java JAR file), is making more progress.
Right now it supports:
IF ... THEN ... ELSE
GOSUB ... RETURN
FOR ... TO ... STEP ... NEXT
DIM A(x, y, z) (and array derefencing)
Still one or two difficult areas to get through and I have had to make one compromise – unlike on the ZX80 one cannot have a variable and an array with the same letter designation – just too difficult to implement on Java/Groovy.
But, it’s getting there…
- Another software death march begins… (cartesianproduct.wordpress.com)
- Line numbers problem solved, after a fashion (cartesianproduct.wordpress.com)
- Using a preprocessor to convert the BASIC (cartesianproduct.wordpress.com)