Author Topic: XDE: The Axe Development Environment  (Read 45638 times)

0 Members and 1 Guest are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
XDE: The Axe Development Environment
« on: September 21, 2010, 06:41:48 pm »
So, now that I have Axe 0.4.4, I've finally decided to make something useful in Axe: a development environment. It's probably gonna take a while, though, so don't expect a demo or anything this month. Also, I can't seem to find my link cable, which means no screenshots or anything until I get enough of it done to trouble a friend of mine to lend me his. But just as a preview, this is going to include the following when it's done (if it gets done):

  • A small-text editor
  • Sprite editing and inserting
  • Fully-featured bitmap drawing
  • Code highlighting, including grayed-out comments
  • LunarIDE-style command auto-completion
  • Menus for the commands, organized by category
  • Saving into backups
  • Compile-and-run, if Axe has an ASM entry point
  • Parentheses marking

So what do you guys think? Any feature requests?
« Last Edit: October 26, 2010, 07:28:54 pm by Deep Thought »




Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: XDE
« Reply #1 on: September 21, 2010, 06:52:24 pm »
How about converting text to TI-OS tokens? I prefer typing stuff out rather than getting it from the catalog or a menu.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: XDE
« Reply #2 on: September 21, 2010, 06:56:19 pm »
Yeah, that's what I meant by "LunarIDE-style command auto-completion".




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: XDE
« Reply #3 on: September 21, 2010, 07:08:12 pm »
I actually prefer Tokens to typing it out O.O I can type super fast with tokens, but as soon as i need to type everything out, I would just get super slow :( Thats the single reason i really never tried any on calc editors.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: XDE
« Reply #4 on: September 21, 2010, 07:12:52 pm »
Yeah, that's why I'm also including a menu. I'm thinking F3 (F1 for File, F2 for Edit, F3 for Insert, etc.). I know that people might get disoriented since it's different from the TI-OS, but with Axe tokens being reasonably new, it might not matter.




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: XDE
« Reply #5 on: September 21, 2010, 07:17:11 pm »
Yeah, unfortunately with me, i know all the TiOS shortcuts, so Sub() is [Catalog] [T] [Up] [Up] and a String is [Vars] [7] [String#] and all the things like that.  Thats the way i program unfortunately, so while i think this will be very helpful and useful for many people, i just cant use it myself.  But dont let that discourage you!  I see so much promise in this program, and the Calculator really does need a better editor.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: XDE
« Reply #6 on: September 21, 2010, 10:32:48 pm »
Would making the editor an option of the user be reasonable? That way people like Builder can do it the way they like to and others can do it the other way.

Also, good luck on this. It sounds really cool :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: XDE
« Reply #7 on: September 21, 2010, 10:33:47 pm »
when you say sprite editing/inserting, would this be 2-4 level grayscale, and the hex code is just placed into your program after you finish editing it?


Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: XDE
« Reply #8 on: September 21, 2010, 10:58:33 pm »
Both token and text support would be nice IMHO. I like to select tokens but other people prefer typing them like on the TI-85. As for sprite support, I wonder if it would be cool when moving the cursor over a string of hex characters that is 16 char long it would display the sprite nearby? Looks like a nice project. Good luck

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: XDE
« Reply #9 on: September 22, 2010, 06:50:22 pm »
Thanks!

Would making the editor an option of the user be reasonable? That way people like Builder can do it the way they like to and others can do it the other way.

Also, good luck on this. It sounds really cool :)

It's just a third-party editor, so basically, you write/edit a program and it saves to a plain 8XP, as if you made it in TI-OS. Basically, it's like using DreamWeaver vs. Notepad. They both work, it's just an extra editor.

I can't really make the program access the TI-OS program editor, though, if that's what you mean.

when you say sprite editing/inserting, would this be 2-4 level grayscale, and the hex code is just placed into your program after you finish editing it?


Yep, exactly :)

And I might add a 16x16 sprite editor that saves it as four separate 8x8 sprites when I have the time...

Both token and text support would be nice IMHO. I like to select tokens but other people prefer typing them like on the TI-85. As for sprite support, I wonder if it would be cool when moving the cursor over a string of hex characters that is 16 char long it would display the sprite nearby? Looks like a nice project. Good luck

Yeah, that's what I meant. It's going to have an auto-complete thing where you just type out some letters and it completes it and converts it to a token for you. There's also going to be a command list, so yeah, it's going to be like on the 85/89, where you can either type the token letters or paste it, and it gives the same result.




Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: XDE
« Reply #10 on: September 22, 2010, 08:05:01 pm »
Well when I meant editor I meant the token vs. typing thing. Like making that an option.

But cool. Good luck.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: XDE
« Reply #11 on: September 22, 2010, 08:08:05 pm »
Oh, yep. You can use either.

Actually, that reminds me of something: Should I tokenize the text as it's being typed, or when the program is saved, like on a TI-89? Which would be better?
« Last Edit: September 22, 2010, 08:08:29 pm by Deep Thought »




Offline willrandship

  • Omnimagus of the Multi-Base.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2953
  • Rating: +98/-13
  • Insert sugar to begin programming subroutine.
    • View Profile
Re: XDE
« Reply #12 on: September 22, 2010, 08:15:49 pm »
Saved. Typing would be slow, and glitchy. What if you're typing a command that has another command inside it? It would tokenize to something you don't want.

The 86 actually tokenized it when it was run, as far as I can tell. It took a while after editing to run my big stuff, so i assumed that was what it was doing :P You'd have to do it with saving, though.

I would definitely love to use this btw. I never liked having to use separate progs for spriting and such. :) Hmm, technically, couldn't you also program in BASIC/Xlib and such, too? as long as you can manually edit the header line, it should just work, right?

Offline tloz128

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 324
  • Rating: +58/-6
  • I feel asleep.
    • View Profile
Re: XDE
« Reply #13 on: September 22, 2010, 10:18:25 pm »
I wonder if it would be possible to create a compiled on calc language using Axe...
...and then another one in that...

But seriously, good luck with this project. It looks cool.
Naaa... Na Nah Na Nana Na Nah... Hey Jude!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: XDE
« Reply #14 on: September 22, 2010, 10:54:42 pm »
Oh, yep. You can use either.

Actually, that reminds me of something: Should I tokenize the text as it's being typed, or when the program is saved, like on a TI-89? Which would be better?
Saved. On the 86 it's tokenized the first time the program is ran. It's detokenized when opened in the editor. I agree that typing would be too slow.