(Don't crucify me, primarily, I'm just wondering if the general idea is sensible.)
In Powerbasic, you can write parts of a program in Powerbasic, and parts in assembly language.
Somehow, you indicate when you are starting and ending a part in assembly language.
Imagine if thinbasic was written in Java or Python - both have built-in GUIs (Swing and Tkinter).
In that case, I think, thinbasic would basically be a higher level interpreter, written with/over a lower level interpreter.
It seems that then it could be very easy to write modules.
If thinbasic was written in Java, then so would the modules, and similarly for Python.
So, like for Powerbasic code being mixed with assembly language code, thinbasic code could be mixed with either Java or Python code.
Somehow, you would be able to indicate the code which you wanted to bypass thinbasic, and be sent straight through to the bottom interpreter (either Java or Python).
Bookmarks