I have been working on a Basic program editor using Celtic CE for a while and feel that I am committed enough to post about it.

Here's what's working:
- Program name input screen
- Ability to skip program input by storing the program name to Str0 and pi to A
- Displaying 13 lines of a program
- Displaying the program name
- Slow and buggy line wrap
- Three different keyboards toggled with [alpha] and basically non functioning typing.
- Moveable (and buggy) cursor
- Ability to delete, clear, and backspace lines, as well as insert blank new ones.
- Line fencing (no scrolling too far up or down)
- Probably more that I haven't thought of

To do:
- Moving cursor in the x and not just the y direction direction and inserting things into the middle of a line.
- Option to create a program if it isn't found
- Ability to edit Celtic appvars as well as just programs
- If possible, make line wrap faster, because it's really slow right now
- Customizable theme (currently super dark mode) and settings menu
- Stopping people from editing non Basic programs.
- Squash bugs, optimize, and more that I can't think of
- Allow unarchiving, and unlocking to edit the program and restore the original state after exiting the editor

I am open to alternative name suggestions
If you want the SourceCoder project, here it is.
And then there were three. This makes the third alternative program editor that is in development (that I know of). Sounds like great progress so far, keep it up! Is there any particular aspect that you want your editor to excel in?
jasper7474 wrote:
Is there any particular aspect that you want your editor to excel in?


Hmm. Not sure about any specific aspect, but I kind of just want to put something out there, as this is my first in depth project, but I kind of just want to be the first to get a program editor working. My main concern is speed and I worry that as I add more and more code, it'll slow to a crawl.

EDIT: a screenshot
https://i.ibb.co/XpT7dwV/screenshot-PIEDITOR.png

The cut off "quit" is from the emulator, and does not happen on the calculator
This looks great. I'm always excited to see more Celtic ce projects. you could potentially collaborate with TIny_Hacker to use his spriter program in you program editor so that users could create program icons within your program.
Calculatordream wrote:
You could potentially collaborate with TIny_Hacker to use his spriter program in you program editor so that users could create program icons within your program.


Good idea. What level of integration were you thinking of? Like, just running the program or something else like temporarily modifying the Spriter saving code? Would it be for just 16x16 bufsprite icons or for sprites of any size and palette?
It could also check for the DCS9IC program and use that if Spriter isn't installed.

Where should I host the source code so that I can get feedback? GitHub, or elsewhere?

EDIT: I released the current version on GitHub here
I was thinking it would run the program and copy the hex string directly to the beginning of the code in your editor as an icon.
Calculatordream wrote:
I was thinking it would run the program and copy the hex string directly to the beginning of the code in your editor as an icon.


What about if the user chooses to save it to a program, but not the program that is getting edited currently. Just let it do that? Also, how would the editor know whether the user saved it to a string, or to the program itself?

Also new pre release
You could directly edit Spriter to copy the hex string to the beginning of the code without giving the user any other options.
Calculatordream wrote:
You could directly edit Spriter to copy the hex string to the beginning of the code without giving the user any other options.

Good idea, I'll start on spriter support soon. Maybe it should just copy Spriter to a temporary program in case something goes wrong.
New pre-release.
Another new pre-release here
Two new pre releases on GitHub.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement