Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Harrierfalcon on October 31, 2007, 04:30:00 pm

Title: ExθnIDE
Post by: Harrierfalcon on October 31, 2007, 04:30:00 pm
If you haven't seen my signature, I'm working on a TI-Basic (integrated) development environment.

It's a Basic editor that will help programmers with handling recursive code, with copy-and-paste (possibly multi-line) functions, and a custom menu with up to 9 tokens.  When I get to it, it will also support subroutine auto-recall, or the recall of subroutine code that it parses directly into the program.  Like if it found a line that said "prgmZINVERT" then it would recall the source of prgmZINVERT into the source program.

Screenie of the current:
user posted image
Obviously it's still in early development stages.  It contains-surprise!-many of the same configuration options as Artistic 2.0 like the menu bar speed.  You can also choose to archive the configuration or not, edit your custom menu, and choose between auto-saving (like the TI-OS editor), ask for line save, or ask for final save.  Oh yeah, and it also will support go to line #, possibly find, and replace.  :)smile.gif

Currently, my problem is the actual line editor; should I try to make a custom one that includes a tokenizer, or should I just use Input?  Obviously the latter is WAY smaller, but the former will be much more IDE-ish, and a lot cooler.  However, if I do the former, it will obviously be larger, and I probably wouldn't be able to easily recreate all of the TI-OS menus (or the catalog).  This would force you to use the custom menu to paste tokens, or just type them out, which would require a large chunk of time for me to make a FAST Basic custom input routine.  I have one guess as to what is preferred by the general population, but what other suggestions do you guys have?
Title: ExθnIDE
Post by: DJ Omnimaga on October 31, 2007, 04:37:00 pm
wow nice! Glad to see a better editor coming out for calc :)smile.gif You should make ppl not have to type all tokens by hand letters by letter, so it makes coding faster, or allow him to turns on this option
Title: ExθnIDE
Post by: Harrierfalcon on October 31, 2007, 04:40:00 pm
Well, my issue with the custom input is that I'd have to somehow give access to every single token.  Documenting the entire catalog is one option.  Other menus have too many submenus...
Title: ExθnIDE
Post by: Liazon on October 31, 2007, 04:41:00 pm
this is interesting.  when are you going to move this to the projects forum?
Title: ExθnIDE
Post by: DJ Omnimaga on October 31, 2007, 04:46:00 pm
oh yeah that may be a bit hard to do that harrier, maybe just make the user type everything by hand
Title: ExθnIDE
Post by: tifreak on October 31, 2007, 05:11:00 pm
Make an alphabetical list, jumpable like the catalog when pressing a letter key.

Looks awesome so far.
Title: ExθnIDE
Post by: Harrierfalcon on October 31, 2007, 05:16:00 pm
I could abuse my menu subroutine even more, and simply divide the catalog into chunks like A-D, E-I, etc, and then go from there...

Thanks guys!

@Liazon: not quite acquainted with the Mod CP yet, but I think I can't create forums in "Our Projects".  If someone else could, I could move it there...I think.

EDIT: Just realized; Indexing the catalog would make accessing common functions extremely tedious.  Maybe making each non-used key trigger a menu with those functions on it?  Except I'd have to have a "More" here and there to fit all the functions of each key in...
Title: ExθnIDE
Post by: DJ Omnimaga on October 31, 2007, 05:21:00 pm
Only me can create new forums, as well as Tenniskid, tifreak8x and rivereye, but rivereye and tenniskid arent active much anymore, I will create a sub forum now and move the topic here :)smile.gif
Title: ExθnIDE
Post by: Harrierfalcon on October 31, 2007, 05:36:00 pm
Thanks! :)smile.gif

Just realized; Indexing the catalog would make accessing common functions extremely tedious. Maybe making each non-used key trigger a menu with those functions on it? Except I'd have to have a "More" here and there to fit all the functions of each key in...

magicdanw said that someone at Detached Solutions had an input routine that accepted all menus, I think he's trying to find it right now (I can't XDsmiley.gif).
Title: ExθnIDE
Post by: Liazon on October 31, 2007, 06:57:00 pm
congrats man!

btw, afaik, you don't have power to make your own subforum under our projects.
Title: ExθnIDE
Post by: DJ Omnimaga on October 31, 2007, 07:24:00 pm
Well I created one :)smile.gif called Harrierfalcon projects. I moved all your projects except for Metroid Pi in it. I let Metroid Pi alone so visitor sees the name metroid  more easily, thus , interesting them more to register or download the game when it's done :Ptongue.gif
Title: ExθnIDE
Post by: Harrierfalcon on November 01, 2007, 01:40:00 am
DJ's got it.  :)smile.gif

DarkerLine says:QuoteBegin-DarkerLine+-->
QUOTE (DarkerLine)
A cheap way of doing things in TI-Basic would be to require the user to press some key when editing a token, type in the token, then press a key again (at which point you would tokenize this - using a binary search algorithm on a table of letters vs tokens, to guarantee good speed) This would naturally lend itself to an auto-completing algorithm; in fact, you would improve the speed further by looking things up at the same time that the user is typing.
That doesn't sound like a bad idea, what do you guys think?
Title: ExθnIDE
Post by: DJ Omnimaga on November 01, 2007, 06:23:00 am
hmmm could u explain it more (maybe with code or example)? I still don't understand what he means x.x
Title: ExθnIDE
Post by: Liazon on November 01, 2007, 11:12:00 am
basically, you can type in ti basic instructions without having to go search for them in the other menus.

since 83+/84+ basic uses tokens (kinda like java byte code), instructions aren't stored as i,f,(,a,=,... with a byte for each character in the name of the instruction.  Instead, they are like 1-2 byte #s that represent a certain instruction (idk because I've never bothered to look into this), that the basic "interpreter" will run.
Title: ExθnIDE
Post by: kalan_vod on November 02, 2007, 04:21:00 pm
Is this using Celtic or something? To retrieve program code
Title: ExθnIDE
Post by: Harrierfalcon on November 02, 2007, 04:36:00 pm
Yes, it is using Celtic II, and a couple of ASM subroutines I've only seen released as a subprogram once, each.
Title: ExθnIDE
Post by: kalan_vod on November 03, 2007, 03:11:00 pm
Well it looks really smooth, and I hope you finish this ;)wink.gif