It's an interesting direction to go in. I like the proliferation of toy machines that the Pico-8 has spawned.
I'm making one going in almost the polar opposite direction to this. I 8-bit avr based with asm (and C,pascal and anything else the avr ecosystem supports)
It's slow going (current work in progress in-broswer emulator+assembler at http://fingswotidun.com/avr/AvrAsm/Testbed/ ) Still have to make a website for sharing cartridge images.
Also this caught my eye in the linked article.
"TypeScript is compiled directly to machine code - there is no interpreter or JIT-compiler involved." There's a Typescript to native compiler about? Where?
In fact there is more dynamic features in now, including accessing arbitrary fields through 'any' type and typeof expression. What's missing is mostly eval and prototype inheritance (instead we use classes). There's also a precise GC now.
I wonder if this could be retargeted to retro CPUs like the 6502 and Z80? Seems the assumption of 32-bit integers might make things less efficient though. (EDIT: never mind, it does support smaller int types!)
I'm making one going in almost the polar opposite direction to this. I 8-bit avr based with asm (and C,pascal and anything else the avr ecosystem supports)
It's slow going (current work in progress in-broswer emulator+assembler at http://fingswotidun.com/avr/AvrAsm/Testbed/ ) Still have to make a website for sharing cartridge images.
Also this caught my eye in the linked article.
"TypeScript is compiled directly to machine code - there is no interpreter or JIT-compiler involved." There's a Typescript to native compiler about? Where?