Author Topic: Features Wishlist  (Read 687156 times)

0 Members and 5 Guests are viewing this topic.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #2310 on: May 27, 2011, 09:23:13 am »
It could be useful to make some sort of increase/decrease function for the one-byte pointer references.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #2311 on: May 27, 2011, 09:25:52 am »
I change variables inside loops quite often. In Axe, I don't know, but I do that a lot in pretty much every language.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Features Wishlist
« Reply #2312 on: May 27, 2011, 02:48:34 pm »
Even though ++ and -- wouldn't optimize further, it sure speeds up coding time in my case.

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 #2313 on: May 27, 2011, 06:50:38 pm »
It would certainly optimize with expressions though, even with 2 byte variables.  For example:

{A*12+B}r+1->{A*12+B}r

Can definitely be optimized with increment operators.  The r and the end of the brackets can tell the parser whether or not to use a 16-bit increment or an 8-bit one.  Variables are always assumed to be 16-bit, but you can still do the more optimized 8-bit increments via {oA}++  This is definitely a feature you will see soon.
« Last Edit: May 27, 2011, 06:53:10 pm by Quigibo »
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2314 on: May 27, 2011, 07:14:19 pm »
Oh, I assumed ++ would only be an available operator for variables, as other programming languages use it. But I guess it makes sense from an optimization standpoint to allow it for one-byte values and complex pointers.

Now if only Axe supported conditional jumps based on the Z80's flags, we could make super optimized loops...
« Last Edit: May 27, 2011, 07:14:51 pm by Runer112 »

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 #2315 on: May 27, 2011, 07:19:50 pm »
Is that another bump for GotoIf? I wholeheartedly second that :D




Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #2316 on: May 27, 2011, 07:20:41 pm »
Actually it wasn't a bump for conditional Goto, but I still really want that as well. And of course conditional sub() would go hand in hand with it. At least sub() without arguments.
« Last Edit: May 27, 2011, 07:22:32 pm by Runer112 »

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: Features Wishlist
« Reply #2317 on: May 27, 2011, 07:24:06 pm »
The only reason I ever change the counting variable in a for loop is to adjust the increment, which TI-BASIC allows you to do with the fourth argument (that Axe doesn't seem to support).

EDIT: GotoIf!  :)
« Last Edit: May 27, 2011, 07:24:39 pm by Qwerty.55 »
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline Aichi

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 290
  • Rating: +76/-3
    • View Profile
    • Devrays
Re: Features Wishlist
« Reply #2318 on: May 28, 2011, 06:43:17 am »
What about an additional Backup option that enables backing up all used subprograms as well?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Features Wishlist
« Reply #2319 on: May 28, 2011, 06:47:42 am »
What about an additional Backup option that enables backing up all used subprograms as well?

I'd love that.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Features Wishlist
« Reply #2320 on: May 28, 2011, 08:09:18 pm »
It would certainly optimize with expressions though, even with 2 byte variables.  For example:

{A*12+B}r+1->{A*12+B}r

Can definitely be optimized with increment operators.  The r and the end of the brackets can tell the parser whether or not to use a 16-bit increment or an 8-bit one.  Variables are always assumed to be 16-bit, but you can still do the more optimized 8-bit increments via {oA}++  This is definitely a feature you will see soon.

Quigibo, I see you added that.  Thank you thank you thank you!

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 #2321 on: May 28, 2011, 08:16:28 pm »
Pxl-Command()->buffer
Including Pxl-Test
(Or, perhaps, Pxl-C(X,Y,PTR))
This one was suggested by Runer:
DispGraph(Buf1,Buf2)^r[r]

In fact, what about
DrawingCommand(args[,list of buffers to apply to]
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 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 #2322 on: June 01, 2011, 09:54:04 pm »
I have a feature request.

I was thinking it would be cool if I could  O.Omodify the certificate pageO.O to remove the trial restriction on the compiled apps so they don't delete themselves after 16 runs.  Yes, I am well aware that this can be extremely dangerous if not coded properly which is why I want to make sure everyone is comfortable with it.  I would of course do extensive private testing before releasing it to the public.  The thing is, I don't know where to find the (un)documentation to do this, I checked WikiTI but couldn't find anything about how the OS operates that page.  So I will probably need a lot of help with this.
___Axe_Parser___
Today the calculator, tomorrow the world!

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Features Wishlist
« Reply #2323 on: June 01, 2011, 10:05:34 pm »
I have a feature request.

I was thinking it would be cool if I could  O.Omodify the certificate pageO.O to remove the trial restriction on the compiled apps so they don't delete themselves after 16 runs.  Yes, I am well aware that this can be extremely dangerous if not coded properly which is why I want to make sure everyone is comfortable with it.  I would of course do extensive private testing before releasing it to the public.  The thing is, I don't know where to find the (un)documentation to do this, I checked WikiTI but couldn't find anything about how the OS operates that page.  So I will probably need a lot of help with this.
Don't touch the certificate. You'll thank me later. Might as well just have an optional app signer instead.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Features Wishlist
« Reply #2324 on: June 01, 2011, 10:08:10 pm »
In less depressing words, does anybody at all know completely how the certificate works besides BrandonW, who himself might not know everything?
Also, is there some system call you might hook into to validate it? If it exists, it seems safer than modifying the certificate.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.