• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 616221 times)

0 Members and 1 Guest are viewing this topic.

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 #2145 on: April 18, 2011, 04:17:09 pm »
But you can just do

Code: [Select]
sub(R)

Lbl R
X-3^27
Return

And save on space.

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 #2146 on: April 18, 2011, 04:18:29 pm »
Ok. I was just wondering.
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 Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #2147 on: April 18, 2011, 04:31:33 pm »
Is there any way you can add VAR++?

I'd really like it, cos it makes the code more stylish that VAR+1->VAR and easier to introduce to C++/java/C coders.

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 #2148 on: April 18, 2011, 07:02:11 pm »
Is there any way you can add VAR++?

I'd really like it, cos it makes the code more stylish that VAR+1->VAR and easier to introduce to C++/java/C coders.
I asked this very early on, and it turned out that Quigibo instituted one of his first optimizations with Var+1->Var turning into inc Var.  So, the optimization is still there, just not the other syntax. :)

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 #2149 on: April 18, 2011, 07:05:25 pm »
I think he is just asking for the A++ syntax for style, just so it looks more like traditional programming languages

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 #2150 on: April 18, 2011, 07:09:00 pm »
I think he is just asking for the A++ syntax for style, just so it looks more like traditional programming languages
Ah, okay. :)
In that case, I'd like the syntax to be valid as well. :D

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Features Wishlist
« Reply #2151 on: April 18, 2011, 07:09:50 pm »
I  was wondering if there can be a key for the compile menu that jumps straight to the backups.  XTΘn or something?
« Last Edit: April 18, 2011, 07:10:00 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue

Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Features Wishlist
« Reply #2152 on: April 18, 2011, 07:10:24 pm »
up once?
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 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: Features Wishlist
« Reply #2153 on: April 18, 2011, 08:16:46 pm »
Yeah an Axe Wiki should be really useful. Do you think there should be one setup on this hosting or something?

Ooh, that would be really useful, like the DCS wiki on Cemetech.




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 #2154 on: April 18, 2011, 09:42:50 pm »
Also I edited the top page poll, because it was left without an edit for far too long.

Hehe, I can take a hint :P  Added a meaningful poll.

I was thinking of adding ++ as an operator for single byte variables because it could lead to a huge optimization there (but not to the 16-bit variables).  So A++ would translate to:
Code: [Select]
ld  hl,axv_A
inc (hl)

Which is NOT the same as A+1->A.  This is because here A represents the Axe "A" variable as just a single 8-bit byte and so 1++ becomes 2, but 255++ becomes 0 again.  And similarly, {B+L1}-- becomes:
Code: [Select]
ld  hl,(axv_B)
ld  de,axr_L1
add hl,de
dec (hl)
« Last Edit: April 18, 2011, 09:45:24 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

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 #2155 on: April 18, 2011, 11:35:20 pm »
A^^B to do signed modulus, so that -1 returns B-1 instead of 65535 mod B.
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 Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #2156 on: April 19, 2011, 06:44:39 am »
A++ would be very cool, thanks Quigibo.

What about this (I suck at Assembly):

Code: [Select]
cp 255
call z,VarPlus

VarPlus:
   ld a,(VarA)
   inc a

Actually, this really sucks.
« Last Edit: April 19, 2011, 06:55:04 am by Scout »

Ashbad

  • Guest
Re: Features Wishlist
« Reply #2157 on: April 19, 2011, 08:17:00 am »
Option 2: I chose that because to tell the truth, it really isn't that hard to put Normal:Dispgraph:Full into your program :/ if you can't do that then shame on you ;D

Offline Compynerd255

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 336
  • Rating: +53/-4
  • Betafreak Games
    • View Profile
    • Betafreak Games
Re: Features Wishlist
« Reply #2158 on: April 19, 2011, 08:40:47 pm »
But you can just do

Code: [Select]
sub(R)

Lbl R
X-3^27
Return

And save on space.
I think what he means is a replacement routine, where instead of calling the subroutine, the code is inserted inline. I'd like to see that implemented somehow (maybe parsing from the label until a Return is encountered).

Oh, yes, and on the compile menu, I'd also like to be able to hold STAT or something while pressing ENTER to suppress automatic backup creation (like compiling after a RAM clear).
« Last Edit: April 19, 2011, 08:41:22 pm by Compynerd255 »
The Slime: On Hold, preparing to add dynamic tiles

Axe Eitrix: DONE

Betafreak Games: Fun filled games for XBox and PC. Check it out at http://www.betafreak.com



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: Features Wishlist
« Reply #2159 on: April 19, 2011, 08:43:58 pm »
I want ++ too! I use it all the time, especially in games without gravity physics, for the coordinates!