I'm debating whether to code in C, Lua, or TI BASIC. A couple questions I have:

If I coded in C, how would I get the code onto the calculator? I'm guessing I would code in a IDE and then convert it somehow to a format that the calculator recognizes?

Since I'm learning a new language would it be more beneficial for me to redo the code in C or Lua? Or would that be way more work and I'm better off just doing it in the Nspire BASIC?

What program would be the best to view the TI-89 code in ?
And I can just use the script editor with the TI-Nspire Cas software or is there a better alternative?
You know you guys can say I'm not looking hard enough... That helps more than silence haha

As far as viewing Ti-89 Basic, I found Ti++ on ticalc.org. I would of found it sooner and thus not asked such a "this guy didn't even search" type question but it's not listed under the http://tibasicdev.wikidot.com/resources page.

I swear I'm searching but I just need a few keywords to point me in the right direction. I don't type full sentences into google. Help me out a little!
TI-Basic is great for math/science-related things, implementing non-graphical-oriented algorithms. But... don't expect much else, really.

C/C++ is the most powerful since you can do pretty much whatever you want to since you control the device, but it's not officially supported by TI (they fight against the jailbreak (Ndless) that enabled native coding), and thus things that you may think "normal" may not be available or trivial on the Nspire.

Lua tries to reunite the best of both worlds, as it is TI-supported and thus linked to the OS (so you can call the math engine etc.) with their Nspire-specific API, and relatively fast as an interpreted language.
It was however a bit crippled by TI as they removed file I/O for instance, so you can't mess with that. Graphical operations aren't that fast, too (but still, it's totally fine 99% of the time, and they recently improved it).

I've been an Nspire-Lua programmer for some years now, so you'll understand why I encourage it Razz Here are some links to get started:
- Step by step tutorials : http://www.compasstech.com.au/TNS_Authoring/Scripting/
- Official TI documentation of the Nspire-Lua API : http://education.ti.com/nspire/scripting-api
- Some other tutorials + wiki (Docs++) : https://inspired-lua.org + https://wiki.inspired-lua.org
- 2 presentations from my T3 talk in 2013 : here (to start), then here for more advanced things : PDF / Powerpoint

And while I'm at it, TI-Planet.org's Lua section will have more activity than here as it is more Nspire-oriented where Cemetech is more z80-oriented. Both French and English are welcome.

On the Nspire Micro-Python topic on TI-Planet, we made a table comparing languages available on the Nspire some time ago, which will also answer some of your questions :
Thank you! This helps a bunch! I was already leaning towards Lua and I think this might of settled it.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement