Author Topic: Features Wishlist  (Read 691583 times)

0 Members and 6 Guests are viewing this topic.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Features Wishlist
« Reply #2655 on: October 18, 2011, 07:07:36 pm »
Code: [Select]
:r1*2+(r2*2)
:Return
Code: [Select]
:Return r1*2+(r2*2) is valid code as well, and will act the same as the above code.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2656 on: October 20, 2011, 09:27:06 pm »
The ability to define Constants in terms of other constants.
For example, I would like to be able to do
L1+256->GDB1
GDB1+256->GDB2
Currently, that is not valid code. Can it please be made so?
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2657 on: October 20, 2011, 10:18:04 pm »
what is the point?
A constant is a constant, and that will not be more optimized.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Features Wishlist
« Reply #2658 on: October 20, 2011, 10:19:38 pm »
It's actually very helpful for code readability in some circumstances.  I remember using this before in C++.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2659 on: October 20, 2011, 10:20:29 pm »
Freyaday, that is most definitely valid code. Are you sure you've tested this with the latest version of Axe? Because I did and it worked just fine for me.

Offline Freyaday

  • The One And Only Serial Time Killing Catboy-Capoeirista-Ballerino
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1970
  • Rating: +128/-15
  • I put on my robe and pixel hat...
    • View Profile
Re: Features Wishlist
« Reply #2660 on: October 20, 2011, 10:27:01 pm »
Freyaday, that is most definitely valid code. Are you sure you've tested this with the latest version of Axe? Because I did and it worked just fine for me.
Huh. Guess I was doing something else wrong.
* Freyaday shrugs
In other news, Frey continues kicking unprecedented levels of ass.
Proud member of LF#N--Lolis For #9678B6 Names


I'm a performer at heart; I stole it last week.
My Artwork!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2661 on: October 21, 2011, 04:29:31 pm »
I have a small feature wish right here!  Currently the percent completed meter can be meaningless if you have several included files in your program, the percent complete just seems to show random numbers because it's switching so fast.  Cal84 suggested it might be a good idea to have the percent compiled for included programs separate from the percent compiled for the main program (maybe not even include it at all?)  Perhaps directly to the right of the main percent, there could be a second percent when parsing included programs?  Just a suggestion :)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #2662 on: October 23, 2011, 03:09:54 am »
I have a small feature wish right here!  Currently the percent completed meter can be meaningless if you have several included files in your program, the percent complete just seems to show random numbers because it's switching so fast.  Cal84 suggested it might be a good idea to have the percent compiled for included programs separate from the percent compiled for the main program (maybe not even include it at all?)  Perhaps directly to the right of the main percent, there could be a second percent when parsing included programs?  Just a suggestion :)

That's actually impossible because Axe doesn't know how large a program is when you have included programs.  It only knows the number of bytes read from the source as a percent of the total number of bytes.  There is no way I'd be able to calculate the expanded size unless I made a 3rd pass to do nothing but sum up the size of all the source programs recursively.  Alternatively, I could do that in the first pass so that the percent would be accurate during the 2nd pass, but most errors are caught in the first.

What I probably will end up doing is adding the name of the current program being parsed to the progress so the percent means something; the progress within the current file.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Features Wishlist
« Reply #2663 on: October 23, 2011, 05:05:30 am »
Since you know the size of the base program, you should be able to calculate the percent complete of the base program right?  That is all I am asking, have the percent of base program size completed.  (Also, since you are only able to nest included programs 1 deep, it wouldn't need to be recursive :P) but yeah, percent compiled of the main program I think would be more helpful.

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2664 on: October 23, 2011, 09:20:20 am »
 how about making an option to display the final size of the program after compilation?
It would require a keypress at the end if the option is on, but it would be much faster than scrolling through all your programs in the memory menu.
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Features Wishlist
« Reply #2665 on: October 23, 2011, 12:39:08 pm »
how about making an option to display the final size of the program after compilation?
It would require a keypress at the end if the option is on, but it would be much faster than scrolling through all your programs in the memory menu.
Good idea, and I think it is doable as it is done for Apps :)
As long as it is an option that can be disabled, because I often do little useless programs.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2666 on: October 26, 2011, 01:24:49 pm »
Two feature requests:

  • The ability to include token strings as data. I thought about a possible syntax for this, and I came up with ["String goes here"]. Perhaps there's a better syntax, but that's just what I came up with.

  • A peephole optimization to remove instances of inc hl \ dec hl. It is very common for operations that return a boolean to end in sbc hl,hl \ inc hl, but in many cases, the inc hl to normalize the result to 0 or 1 isn't really necessary and returning a value of -1 or 0 would work just as well (sometimes better, as is the case with a piece of code I was just working on). Being able to add a minus one after the boolean operation to save a byte could be very handy and could definitely add up.
« Last Edit: October 26, 2011, 01:27:02 pm by Runer112 »

Offline jacobly

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 205
  • Rating: +161/-1
    • View Profile
Re: Features Wishlist
« Reply #2667 on: October 26, 2011, 02:43:00 pm »
  • The ability to include token strings as data. I thought about a possible syntax for this, and I came up with ["String goes here"]. Perhaps there's a better syntax, but that's just what I came up with.
I was going to make the same exact request, with the same suggestion for syntax. O.O
Ninja'd before I even made the post.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2668 on: October 26, 2011, 02:51:14 pm »
Yeah, I saw your FP math Axiom and I figured that being able to enter token strings would make it about 100x simpler. People could then just enter standard homescreen/TI-BASIC code which could be executed simply with a bit of setup and calling the OS to handle parsing it from there.
« Last Edit: October 26, 2011, 02:54:26 pm by Runer112 »

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Features Wishlist
« Reply #2669 on: October 26, 2011, 07:31:35 pm »
Both good ideas.  I was planning to add a token string eventually, but I forgot about it since nobody was really using tokens.
___Axe_Parser___
Today the calculator, tomorrow the world!