• Features Wishlist 5 1
Currently:  

Author Topic: Features Wishlist  (Read 253499 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 #1455 on: October 25, 2010, 07:41:07 pm »
Axe uses a random number generation method that uses more than just a seed if i remember correctly, so its impossible to set the seed, since the random number actually has an aspect of randomness to it

On a related note, i just came across something that i think is very broken.  In a program that uses a lot of included files for easier coding, if one of the sub programs has a missing End, it brings you to the very end of the top program instead of into the program that caused the error.  So if i had ProgramA

Code: [Select]
.Axe
prgmSUB

and program SUB

Code: [Select]
..SUB
While 1
Output(0,0,"Ahhhh

and tried to compile, i would get an error block in program A :( This just killed some progress on the Zedd library since i have a bunch of subprograms and i'm getting an error but i literally have no idea where it is, not even the program, so now i have to go searching through 6000 bytes of source code   :'(

EDIT: Woo i'll use sourcecoder! ^^
EDIT2: Awww it doesn't do Axe syntax :(
EDIT3: Ahk part of my source got corrupted D: well at least now i know where the error came from...
« Last Edit: October 25, 2010, 07:44:10 pm by Builderboy »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #1456 on: October 25, 2010, 07:49:19 pm »
And I've once gotten an ERR:BLOCK that was fixed simply by removing the Else between an If statement and an End, even though the block made perfect sense. I can't seem to recreate the bug, though :P




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 #1457 on: October 25, 2010, 07:50:16 pm »
Ooh yeah i got that too, seems that the elseIf still isnt working 100% D:

EDIT: Ok this is weird, i just got my source corrupted again O.O but it cant be the backup feature since its in a subprogram thats getting corrupted, and i even cleared my RAM from just before :(
« Last Edit: October 25, 2010, 07:51:40 pm by Builderboy »

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #1458 on: October 25, 2010, 07:52:35 pm »
EDIT: Ok this is weird, i just got my source corrupted again O.O but it cant be the backup feature since its in a subprogram thats getting corrupted, and i even cleared my RAM from just before :(

Subprograms don't get backed up? Didn't know that...
« Last Edit: October 25, 2010, 07:52:43 pm by Deep Thought »




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 #1459 on: October 25, 2010, 08:04:17 pm »
Nope, another thing that might be good as an option.

Oh also, it would be nice if Axe saved whether or not you like lowercase turned on, currently it just lets you swap between what you currently have and the other option.  If i turn on Lowercase letters, clear RAM, and then go to Axe the option has changed back to uppercase.  I think it would be nice if it just automatically saved your option and applied it when you start Axe.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8206
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Features Wishlist
« Reply #1460 on: October 25, 2010, 08:11:46 pm »
Oh also, it would be nice if Axe saved whether or not you like lowercase turned on, currently it just lets you swap between what you currently have and the other option.  If i turn on Lowercase letters, clear RAM, and then go to Axe the option has changed back to uppercase.  I think it would be nice if it just automatically saved your option and applied it when you start Axe.

^ Agreed. Right now we have to go under Options > Alpha every time we RAM clear, which for me would be about 12 times a day.




Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55816
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: Features Wishlist
« Reply #1461 on: October 25, 2010, 08:18:42 pm »
Yeah backing up sub-programs would be good. I hope you didn't lose progress Builderboy, btw X.x.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

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 #1462 on: October 25, 2010, 09:26:17 pm »
As for the subprograms, they are not actual "sub" programs put part of the original code itself.  Thus you can make block abstractions within your code:

Code: [Select]
.MainProg
prgmFOREACH
.Do Stuff to element
prgmENDEACH

Code: [Select]
..ForEach
.Initialization
For(A,0,N)
.Setup

Code: [Select]
..EndFor
.Clean Up
End
.Destructor

I could check to make sure that the block level count before and after reading a subprogram is the same but then you wouldn't be able to use these abstractions.

Backing up subprograms would be a little awkward to compile.  It would first backup the main program then start compiling and whenever it sees a subprogram, pause compiling to back it up and then resume.  The best solution is to just keep your subprograms in archive and only have the programs you're actually editing in the ram.  But I will see if it is possible to have this as an option.  I can't scan the program looking for subprograms ahead of time because it would have to ignore comments, quotes, characters, absorbed data, etc. which are taken care of during the actual compile.

Also, I've been thinking... to avoid the corrupted ram issue, maybe I should have the main program get backed up at the end instead of the beginning of the compile.  That way in case a bad program corrupts your program, it probably won't be able to finish the compile successfully and therefore will not replace the last backup.  Also, getting any other syntax error will mean you have to go back and fix it so it shouldn't need to waste time archiving.  In other words, if it can't compile, the problem must be fixed before replacing the last working backup.  The only danger is in case Axe crashes the program in ram would be lost, but I don't think I have those problems anymore.  Also you can't use that trick to backup BASIC programs anymore (but you can write a program to do that in Axe :P)
« Last Edit: October 25, 2010, 09:27:06 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 #1463 on: October 25, 2010, 09:46:21 pm »
Ahh, Quigibo! Did you read my epic on the last page? ;)

Also, a new request for TI Program Editor users like me (although I'm probably the only one lol). When saving 8xp files, if a lowercase letter represents something special (u, v, w are equation variables and a, b, c, d, e, n, p, r, s, t, z are statistics variables), TI Program Editor parses these as these special tokens and not lowercase letters. Due to this, they turn into garbage when parsed inside strings by Axe. Could you make these tokens be parsed as the lowercase letters they actually represent?
« Last Edit: October 25, 2010, 09:49:12 pm by Runer112 »

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55816
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: Features Wishlist
« Reply #1464 on: October 25, 2010, 09:55:01 pm »
Also, I've been thinking... to avoid the corrupted ram issue, maybe I should have the main program get backed up at the end instead of the beginning of the compile.  That way in case a bad program corrupts your program, it probably won't be able to finish the compile successfully and therefore will not replace the last backup.  Also, getting any other syntax error will mean you have to go back and fix it so it shouldn't need to waste time archiving.  In other words, if it can't compile, the problem must be fixed before replacing the last working backup.  The only danger is in case Axe crashes the program in ram would be lost, but I don't think I have those problems anymore.  Also you can't use that trick to backup BASIC programs anymore (but you can write a program to do that in Axe :P)
That might be a better idea. It would save some time when we get errors
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Features Wishlist
« Reply #1465 on: October 25, 2010, 11:41:00 pm »
I don't know if this has been requested, but 32 bit math would be awesome.

Offline Runer112

  • Project Author
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Features Wishlist
« Reply #1466 on: October 25, 2010, 11:47:48 pm »
I don't know if this has been requested, but 32 bit math would be awesome.

It would. It would also require Quigibo to completely rewrite every math routine and auto-optimization for a 32-bit mode, as well as needing to create ways to interweave it with the normal 16-bit mode, both on the compiled program side and the parser side. It would be a long and difficult undertaking, and although it would be awesome, I think its sheer difficulty makes it a low priority.

An 8-bit mode has been requested too, and even though that would undoubtedly be a good deal simpler and easier to code, that's still the kind of thing Quigibo doesn't imagine implementing until the far future, like Axe 2.0.
« Last Edit: October 25, 2010, 11:51:12 pm by Runer112 »

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55816
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: Features Wishlist
« Reply #1467 on: October 26, 2010, 02:48:28 am »
Yeah if I remember it was gonna remain 1 and 2 bytes for a while. For RPGs you will probably need to have to use lower range of HP/EXP/Gold for now.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter

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 #1468 on: October 26, 2010, 02:51:19 am »
Also it probably wouldn't be too bad to write a small 32 bit library for Axe, since we have all the multiplication routines we need, it could even be an axiom! :D

Offline DJ Omnimaga

  • Now active at https://codewalr.us
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55816
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • CodeWalrus
Re: Features Wishlist
« Reply #1469 on: October 26, 2010, 02:59:20 am »
True. I recall people tried to do this before but I don't remember if anyone succeeded. In score cases, one thing you can do is add a few artificial zeroes at the end of the number, like 6553500, on the screen. In that case the score would need to increase by 100 everytime, though.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF


Bandcamp|Reverbnation|Facebook|Youtube|Twitter