<veltas>
cheater: You mean like 'BASIC's implemented in forth?
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
<veltas>
There might be some, probably not many though, they were popular back when if you wanted a BASIC then you implemented a BASIC in machine code, not anything else.
<cheater>
hi
<cheater>
yes
<veltas>
The ZX Spectrum's BASIC had a calculator stack VM it used for storing its mathematical functions
<veltas>
I think that's probably stolen from something like an old HP BASIC
<cheater>
so the basic is implemented on top of that vm?
<veltas>
And really, most interpreted languages boil down to a stack-based VM, like most JS implementations are a just-in-time optimised version of that, and the JVM
<veltas>
No just the maths functions
<veltas>
The BASIC was implemented in assembly, and some maths functions used the calculator stack. Well I think any numerical operations used it
<cmtptr>
is that true? i thought a lot of vms are register machines
<veltas>
It was a convoluted floating point representation
<veltas>
I say 'VM' but really it was just a bunch of functions that operated on a stack containing numbers