Author Topic: AutoCalc - App Version with Symbolic and PrettyPrint support  (Read 14349 times)

0 Members and 1 Guest are viewing this topic.

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: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #15 on: June 10, 2010, 05:36:07 pm »
Glad to see this come out ^^

souvik1997

  • Guest
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #16 on: June 10, 2010, 05:39:59 pm »
AutoCalc is too slow for me to do any normal calculation. See if you can reproduce this:
e^([pi])*e^(6)
It never finished the calculation, even after I waited 6 minutes.

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #17 on: June 10, 2010, 07:02:10 pm »
AutoCalc isn't perfect, and a lot of non-standard or complex calculations don't work. The readme of the main engine specifies that if AutoCalc is having trouble with a calculation, try separating it into several pieces.
Former Coder of Tomorrow


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: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #18 on: June 10, 2010, 07:04:16 pm »
I think the issue is that it's written in BASIC for the most part, but I still find it great for the most part. It's nice we can now have an entire CAS on non-cas models without having to open our wallet

Offline Levak

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1002
  • Rating: +208/-39
    • View Profile
    • My website
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #19 on: June 11, 2010, 05:46:32 am »
It says in the readme that as long as I give credit to him, I can use his programs as I want.

Ok... but where are these credits in your mod ?
You also destroyed all the Documentation related to Autocalc, either it has been remoded, but I think that you could let it in the zip with a link directed to the original program, no ?
« Last Edit: June 11, 2010, 05:51:10 am by Levak »
I do not get mad at people, I just want them to learn the way I learnt.
My website - TI-Planet - iNspired-Lua

Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #20 on: June 11, 2010, 06:09:09 am »
AutoCalc is too slow for me to do any normal calculation. See if you can reproduce this:
e^([pi])*e^(6)
It never finished the calculation, even after I waited 6 minutes.


AutoCalc handles some kinds of numbers, and "6+Pi" is not handled.
(see the doc in the original program)

Here are all kind of numbers handled by the 3.0 algorithms:



I've tried on my TI-84+SE, and the app-version is much slower than the program-version.
(I'd say 1.5 to 2 times slower...)

But it may be because it's executed in ROM instead of RAM ?
TI-Planet co-admin.

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: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #21 on: June 11, 2010, 09:29:35 am »
(mhmm it might be a good idea to include the entire original readme renamed to original_readme.txt or with a small notice about what Silver changed with the program indeed)

Also I am not sure but I think I remember reading something somewhere saying that the larger the amount of sub-programs included in a BASIC Builder APP, the slower it gets. That might explain the slow downs.

Also does Basic Builder APPs run on OS 2.53MP?

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #22 on: June 11, 2010, 09:34:17 am »
Interesting program.
I did some TI-BASIC programs that resemble those features.
Maybe I should try to rewrite the program to be faster. And there is useful assembly code for helping out the task. (like a number to string converter)
« Last Edit: June 11, 2010, 09:37:06 am by Galandros »
Hobbing in calculator projects.

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #23 on: June 11, 2010, 10:22:00 am »
It says in the readme that as long as I give credit to him, I can use his programs as I want.

Ok... but where are these credits in your mod ?
You also destroyed all the Documentation related to Autocalc, either it has been remoded, but I think that you could let it in the zip with a link directed to the original program, no ?
The credits appear when you exit the app (by this I mean typing QUIT).
I also wanted to include the original program in a seperate folder inside the zip file, but I completely forgot. I'll try to do this as soon as possible. Done. I also added the credits into the readme file.

I've tried on my TI-84+SE, and the app-version is much slower than the program-version.
(I'd say 1.5 to 2 times slower...)

But it may be because it's executed in ROM instead of RAM ?
I don't know exactly how BasicBuilder functions, so it's maybe due to that. But I think that a part of the slowdown is because my version first interprets the input, so as to call the Symbolic functions when needed, and only after analyzing the inputted string does it decide to launch the CAS engine.
I checked, the part that interprets the input is almost instant. The problem must be in how Basic Builder works.
@DJ Omnimaga: If you're right about that a large number of programs slows down BasicBuilder, then I'll try to reduce them. The next version will be with less programs.

Also does Basic Builder APPs run on OS 2.53MP?
Yes they do. But don't try running my app with the latest beta of DCS being present on the calc: it won't work.
« Last Edit: June 11, 2010, 11:10:11 am by Silver Shadow »
Former Coder of Tomorrow


Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #24 on: June 11, 2010, 11:17:53 am »
*bump*

Update:
-some bug fixes
-cleans up correctly after itself
-should be faster (if having less programs to package solves the problem)
-includes original version of AutoCalc
-added credits in readme
Former Coder of Tomorrow


Offline critor

  • Editor
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2079
  • Rating: +439/-13
    • View Profile
    • TI-Planet
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #25 on: June 11, 2010, 11:18:59 am »
*bump*

Update:
-some bug fixes
-cleans up correctly after itself
-should be faster (if having less programs to package solves the problem)
-includes original version of AutoCalc
-added credits in readme


Thank you very much.
I'm going to try...


Do you have a link ?
« Last Edit: June 11, 2010, 11:20:51 am by critor »
TI-Planet co-admin.

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #26 on: June 11, 2010, 11:30:35 am »
Yes, download it from the 1st post in this topic.
Former Coder of Tomorrow


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: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #27 on: June 11, 2010, 12:23:25 pm »
Also I am not sure but I think I remember reading something somewhere saying that the larger the amount of sub-programs included in a BASIC Builder APP, the slower it gets. That might explain the slow downs.
I'd use only one program, because in basic builder each time a subprogram is run it does something kind of like this:
Code in the App says:
:prgmA
App runs something kind of like this (In the example I'm using XCopy by Iambian):
:0->X
:"prgmA
:Asm(prgmXCOPY
:prgmXTEMP001

You can see how that's slower.  That's basically what Basicbuilder does. :D

Offline mapar007

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 550
  • Rating: +28/-5
  • The Great Mata Mata
    • View Profile
Re: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #28 on: June 11, 2010, 12:24:45 pm »
Very interesting application you have there... Kudos!

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: AutoCalc - App Version with Symbolic and PrettyPrint support
« Reply #29 on: June 11, 2010, 12:28:47 pm »
I just tried it.  Excellent program!  I'm pretty sure this is going on my calc for Pre-Calc next year.  Thanks! ;D