1 hour ago, Wertzui said:
My current development method is that I write the BASIC code in a text editor, and copy-paste the text into the emulator.
So what if you could do something similar ON the hardware itself? The X16 appears to be fast and stable enough for that.
Like, having a comfortable text editor residing in hight memory (with maybe some help with the line numbers and syntax color highlights), you can save a separate ASCII source file, and on command, it could plop the the code into the BASIC memory and you could test it, then jump back to the text editor.
It would be great ...or maybe not, but I can see myself trying to get to somewhere with that.
I happen to be working on that very thing. I think I’ve got all the pieces pretty much worked out, now I just need to stitch them together.
Here’s the vision: in the editor, no line numbers, just labels. You’ll be editing the code in place, no separate file, no compilation translation or transpilation. The editor will just abstract away the line numbering, but will still leave a native V2 basic file that can be run, saved, and distributed without requiring the editor.
Also: long variable names, again, abstracting away the actual implementation that will still use the 1 or 2 character variables. What it’ll do is have a dictionary of labels and variable names in rem statements that the editor will use to map the “friendly” to the actual.
I’m a fan of “less is more” in interface design, so will have minimal interface real estate.
I’m working on the assumption that V2 basic is pretty much set for the X16. Somebody please correct me if there’s a chance that a different Basic might actually make it in.