Omnimaga

Calculator Community => TI Calculators => Lua => Topic started by: honchell12 on July 10, 2011, 09:56:38 pm

Title: LUA script tool for mac?
Post 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.
Title: Re: LUA script tool for mac?
Post by: Deep Toaster on July 10, 2011, 10:34:01 pm
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).
Title: Re: LUA script tool for mac?
Post by: Munchor on July 11, 2011, 05:38:16 am
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 :)
Title: Re: LUA script tool for mac?
Post by: honchell12 on July 11, 2011, 10:37:35 am
 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!
Title: Re: LUA script tool for mac?
Post by: JosJuice on July 11, 2011, 10:50:16 am
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?
Title: Re: LUA script tool for mac?
Post by: honchell12 on July 11, 2011, 10:54:33 am
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
Title: Re: LUA script tool for mac?
Post by: Deep Toaster on July 11, 2011, 12:48:49 pm
http://lua-users.org/wiki/MacOsxLua

Binary builds are on top.
Title: Re: LUA script tool for mac?
Post by: cypressx1 on August 02, 2011, 08:01:17 am
what a pity, l don't have a Mac
Title: Re: LUA script tool for mac?
Post by: Adriweb on August 02, 2011, 10:33:29 am
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.)
Title: Re: LUA script tool for mac?
Post by: calcdude84se on August 02, 2011, 10:34:17 am
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).
Title: Re: LUA script tool for mac?
Post by: Deep Toaster on August 02, 2011, 10:52:32 am
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
Title: Re: LUA script tool for mac?
Post by: pianoman on August 02, 2011, 10:54:19 am
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
Title: Re: LUA script tool for mac?
Post by: Adriweb on August 02, 2011, 12:01:48 pm
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
Title: Re: LUA script tool for mac?
Post by: pianoman on August 03, 2011, 01:00:20 pm
Yeah, adriweb, if you could post a link or an attachment, that would be great. :)