logoalt Hacker News

anthktoday at 9:44 AM0 repliesview on HN

Great Basic interpreter: https://www.moria.de/~michael/bas/ (it will almost all of the 101 Basic Computer Games if formatted).

On another non-compatible but really small Basic, check NMH BASIC 3:

https://www.t3x.org/nmhbasic/index.html

Compile it under Unix (or windows with w64devkit):

       cc -o tcvm tcvm.c
       
Run primes.bas:

       tcvm basic primes.bas
       NMH BASIC III - 7599 BYTES FREE
       #3 = primes.bas
       OK
       load #3
Also, as it's T3X0 code, you might be able to port and run under DOS and CP/M. Yes, you read it right. By default I didn't compile it to Unix native 32/64 bit with T3X/0 because it NMH Basic requires a 16 bit machine/interpreter. But if it's cross-compiled to a 16 bit DOS or CP/M, it will run native.

Show up what you can do. Port scoundrel, for instance:

https://codeberg.org/luxferre/scoundrel-ports

I already doing that to JimTCL and it's a piece of cake.