Colecovision BASIC compiler: CVBasic v0.1.0
forums.atariage.com
forums.atariage.com
I have been working on a learning project to produce an interpreter of a sub set of Python written in Python (most arithmetic ops, assignment ops, if-elif-else, while-break, function calls) and it took me about 2 months to complete it in my free time.
I wish I could be more focused and motivated.
I knew nothing about compiler theory so it took me way too much time to implement break and function call correctly.
Doing a compiler from scratch is a serious task.
The guy had the experience of another Basic compiler and it may even had previous experience from other compiler projects.
I once implemented an interpreter for a custom DSL that had only boolean logic (and, or) and parenthesis precedence. It took me one week but then again I was totally green in the field.
My stuff is not nearly as impressive as what Toledo, Carmack, or Bellard do, but honestly, how many people can claim theirs is?
https://forums.atariage.com/topic/164295-gcc-for-the-ti/#com...
I'd be super interested in trying a FORTH system as well, if anyone knows of something like that for the Coleco.
Action games needed tighter main loops for gameplay so my understanding is that where Forth was used for those, it was primarily as a macroassembler system.
I am exploring Forth for Agon Light right now. Since the Agon is a modern 8-bit design swaggering around with an eZ80 at 20MHz, 512kB RAM, and a programmable VDP with functions resembling GPU shader programming, it can absorb all the interpreter overheads easily.
The popular home computers of the era would also fit your criteria - why the Coleco?
I am actually thinking these days about building a BASIC compiler for another Z80 retro machine (Galaksija). But I am a little bit afraid about the machine code generation part. How hard was it to target Z80?
Regardless. Fun stuff. Looking forward to trying. Maybe in a vm.
So it phones home and downloads a file and uploads 3? Or am I interpreting this incorrectly?
We have a few BASIC creators (and of course users) over here including Marco who created ugBASIC.