Omnimaga
Calculator Community => TI Calculators => Lua => Topic started by: honchell12 on July 10, 2011, 09:56:38 pm
-
Hey guys. Im pretty new to programing and stuff and i need to know if someone knows about a lua script tool for mac osx computers. I have searched google high and low for something to do this with and cannot find anything. if there is something on ti's website than i need someone with a windows computer to email it to me because ti's website does not have mac support for downloads.
Thanks in advance.
-
Hi honchell12, welcome to Omnimaga :)
What do you mean by "lua script tool"? If you're looking for a Lua to TNS converter (TNS being the filetype of an Nspire document), there are a few converters listed here (http://ourl.ca/10384/198263).
-
Hi honchell12, welcome to Omnimaga :)
What do you mean by "lua script tool"? If you're looking for a Lua to TNS converter (TNS being the filetype of an Nspire document), there are a few converters listed here (http://ourl.ca/10384/198263).
What he said, both LUA>TNS and the Python one are cross-platform so they work on Macs :)
EDIT: There are also the online ones, which are cross-platform too :)
-
the lua to tns converters i will need, but not right now. Im trying to learn the language and am looking for a compiler that is NOT distributed in source code(like the ones on lua's official website). The reason for this is my computer is lacking the "make" command so i cannot install the lua compiler from its source code. if anyone knows of a freeware lua compiler for mac than please share.
Thanks!
-
You don't need a Lua compiler - Lua is an interpreted language, and the Nspire will interpret it for you (if you've converted it to the TNS format). Or are you looking for a interpreter that can be run on a computer?
-
i guess you could say i was looking for an interpreter that ran on a computer. i actually found one after digging through google. if anyone that has a mac would like to check it out here is the link
http://sourceforge.net/projects/ilua/files/versions/1.X.X/ilua-1.0.4.zip/download
i am NOT the creator of this program. just sayin
-
http://lua-users.org/wiki/MacOsxLua
Binary builds are on top.
-
what a pity, l don't have a Mac
-
I'm working on a Mac, and if you just want to program for the Nspire, just download LUAtoTNS.sh (here (https://github.com/adriweb/BetterLuaAPI-for-TI-Nspire/zipball/master)) or the python's script that will convert your .lua files to .tns files (for OS 3.0.1) (available on TI-Bank, here, ticalc etc.)
-
cypressx1: there's Lua for Windows at http://code.google.com/p/luaforwindows/ (http://code.google.com/p/luaforwindows/), and most Linux distros should offer a package in their repositories (or you could even build from source).
-
what a pity, l don't have a Mac
If you need a Lua to TNS converter, there are a few online ones :)
EDIT: You know what would be cool? An online Lua interpreter.
EDIT2: What do you know. http://www.lua.org/demo.html
-
cypressx1: there's Lua for Windows at http://code.google.com/p/luaforwindows/ (http://code.google.com/p/luaforwindows/), and most Linux distros should offer a package in their repositories (or you could even build from source).
Yeah, I use that one. I really like the IDE they have in it (SciTE) :D
-
Btw, if you're looking for a nice Lua editor, I use BBEdit with a nspire-lua plugin I made, I can give it to you if you want
-
Yeah, adriweb, if you could post a link or an attachment, that would be great. :)