Author Topic: Lua on the Nspire?  (Read 28330 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lua on the Nspire?
« Reply #60 on: April 14, 2011, 06:02:29 pm »
Nice stuff! Hopefully Nspire Lua programming will be documented well enough soon so more people can program on their calculator.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Lua on the Nspire?
« Reply #61 on: April 14, 2011, 06:03:35 pm »
Damn.  I need an nspire.
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Lua on the Nspire?
« Reply #62 on: April 14, 2011, 06:05:03 pm »
IS there much hope for a documented API in the near future?
This looks like it is going to be fun

Have they replied yet. I can see them saying "What we do not have a hidden programming language this is all a lie" aor "I'm sorry we are not allowed to release that information

The Community(Us) will probably have to make our own one
I asked TI about that on their facebook page lol
« Last Edit: April 14, 2011, 06:05:24 pm by ruler501 »
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Lua on the Nspire?
« Reply #63 on: April 14, 2011, 06:31:12 pm »
I'm sure they'll claim such language isn't available on the calc. :P Kinda like when they reply that the 84+ has a total of 24 KB of RAM instead of 48.
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Lua on the Nspire?
« Reply #64 on: April 15, 2011, 10:09:23 am »
A huge list of LUA IDEs can be found at http://www.wowwiki.com/Lua_editors . Multiple of them are bound to be scriptable, a scriptability which could be used to act upon improved nspire_emu & Ncubate versions.
Having one sub-par IDE specific to the Nspire platform, with a sub-par build system specific to that IDE, is probably not a model to follow :)
« Last Edit: April 15, 2011, 10:10:08 am by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Ashbad

  • Guest
Re: Lua on the Nspire?
« Reply #65 on: April 15, 2011, 01:11:38 pm »
If I was to suggest a Lua IDE, I'd say your best bet would to be to go with SciTE.  It's really useful for bigger projects, and has quick code checking options.

Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Lua on the Nspire?
« Reply #66 on: April 15, 2011, 01:34:11 pm »
SciTE is my main code edition tool for various programming languages, but I'm not sure it's scriptable enough for full integration with the emulators, and it's not native under MacOS X (it's a GTK+ program on top of X11, I sometimes use the version compiled from MacPorts).
Notepad++ (for Windows) and Komodo Edit (Windows, MacOS X, Linux) sound like other good choices.
« Last Edit: April 15, 2011, 01:36:06 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Lua on the Nspire?
« Reply #67 on: April 15, 2011, 01:54:32 pm »
TextWrangler for Mac is what I use... but I might look at some others
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Lua on the Nspire?
« Reply #68 on: April 16, 2011, 07:40:27 am »
IS there much hope for a documented API in the near future?
This looks like it is going to be fun

Have they replied yet. I can see them saying "What we do not have a hidden programming language this is all a lie" aor "I'm sorry we are not allowed to release that information

The Community(Us) will probably have to make our own one
I asked TI about that on their facebook page lol
It's likely that they won't reply, or that they'll delete the post.

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Lua on the Nspire?
« Reply #69 on: April 16, 2011, 07:43:25 am »
Well, it's still there lol ... They haven't answered [yet ?] but they posted some new things on their wall so I think they're ignoring it for now ....
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline Snake X

  • Ancient Veteran
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 810
  • Rating: +33/-8
    • View Profile
Re: Lua on the Nspire?
« Reply #70 on: April 16, 2011, 08:32:21 am »
my lua ide:

Notepad. It works. :P
Loved this place, still the best producers of power metal, and sparked my dreams of coding.

Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Lua on the Nspire?
« Reply #71 on: April 16, 2011, 09:58:55 pm »
my lua ide:

Notepad. It works. :P

I use the slightly easier to use notepad++
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: Lua on the Nspire?
« Reply #72 on: April 16, 2011, 10:14:43 pm »
my lua ide:

Notepad. It works. :P

I use the slightly easier to use notepad++

Thats what I'm using! ;D


Offline ruler501

  • Meep
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2475
  • Rating: +66/-9
  • Crazy Programmer
    • View Profile
Re: Lua on the Nspire?
« Reply #73 on: April 16, 2011, 10:15:40 pm »
I find it easy to use and its in LiberKey(portable programs) so that is just a plus
I currently don't do much, but I am a developer for a game you should totally try out called AssaultCube Reloaded download here https://assaultcuber.codeplex.com/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: Lua on the Nspire?
« Reply #74 on: April 17, 2011, 02:59:51 am »
I'm currently using UltraEdit (license required) for syntax coloring, with keyboard shortcuts to call the Lua to TNS converter and luac for computer-side syntax checking. Maybe I'll try to integrate it with nspire_emu/Ncubate, sending the file by hand between each test is a pain.
Ndless.me with the finest TI-Nspire programs