2 ms·
Thanks. What really confused me was that I thought I would find structures such as a jump table for different keywords in BASIC, but instead I found a jump tabl
by markus_zhang 2y ago
Thanks. What really confused me was that I thought I would find structures such as a jump table for different keywords in BASIC, but instead I found a jump table for opcodes, starting from 0202A0: 000211B4.
You mentioned this is actually a JIT-based interpreter, so I figured this is actually a VM with an IR, which uses this jump table. Still, I'm wondering where is the code for the frontend? I have written a couple of simple dispatch interpreter myself so would love to see the asm code for the frontend (not that the backend is not interesting, but simply because I have never written one in C so do not have the skill to recognize the asm code).
But anyway, thanks for the link. I never used an ST before but will try it out. It is a bit sad that he never got enough $$ from this product and he said in a newsletter that "I don't have a business license or manuals -- most of them are in Santa Fe's municipal land fill".
Regarding the manual I also tried to search on z-lib and libgen but sadly did not find any. But I did find some posts on certain ST forums so I'm sure it is not as rare as I think -- and the manual is most likely just for DBASIC programming, not explaining the implementation of DBASIC, so I can just use the example programs as references.