Omnimaga

Omnimaga => News => Topic started by: KermMartian on September 09, 2012, 09:51:25 pm

Title: LuaZM v0.1 Beta Released
Post by: KermMartian on September 09, 2012, 09:51:25 pm
The programming language Lua (http://www.lua.org/manual/5.1/manual.html/) has been around for fifteen years, and has recently gained significant traction as an introductory scripting language. As I mentioned when I first announced the LuaZM project (http://www.cemetech.net/news.php?id=522), the TI-Nspire CX has had Lua for about a year now, Texas Instruments' uneasy relationship with hobbyist programmers (http://www.cemetech.net/news.php?id=443) notwithstanding. I'm proud to release the first beta of LuaZM to the public, along with documentation on the current features of the core program and its included libraries. Create your own .lua programs, then use LuaZM's handy graphical file browser to select a program and run it. LuaZM also includes a command line where you can test out commands and functions. LuaZM is a semi-port of Lua 5.2.1. Please try out this beta, give me feedback, and start publishing your own Prizm Lua programs! Compatibility layers for Nspire and LuaFX programs may be coming soon. Special thanks go to Juju (http://cemetech.net/forum/profile.php?mode=viewprofile&u=1982) and AHelper (http://www.cemetech.net/forum/profile.php?mode=viewprofile&u=2238) for the PrizmIO console library and the File Browser GUI respectively.

Download & Read More
(http://www.cemetech.net/img/icon/dl.gif) LuaZM v0.1 - Casio Prizm Lua Interpreter (http://www.cemetech.net/programs/index.php?mode=file&id=770)
(http://www.cemetech.net/img/icon/dl.gif) LuaZM reference documentation (http://prizm.cemetech.net/index.php?title=LuaZM_Reference)

Edit: The current download is v0.1.1, which fixes zmg.keyMenu(), optimizes zmg.keyMenuFast(), and adds zmg.makeColor().

(http://www.cemetech.net/img/projects/luazm/luazm01_1.jpg)
Title: Re: LuaZM v0.1 Beta Released
Post by: blfngl on September 09, 2012, 09:54:21 pm
Very nice! :)
Title: Re: LuaZM v0.1 Beta Released
Post by: Juju on September 09, 2012, 09:56:20 pm
Pretty awesome, I'll try it as soon as I can.
Title: Re: LuaZM v0.1 Beta Released
Post by: DJ Omnimaga on September 10, 2012, 12:58:11 am
Great news Kerm :)
Title: Re: LuaZM v0.1 Beta Released
Post by: Jonius7 on September 10, 2012, 01:04:30 am
Wow this looks great! This will make publishing Casio Prizm Lua much easier. Keep going on the TI-nspire and LuaFX versions too!
Title: Re: LuaZM v0.1 Beta Released
Post by: Stefan Bauwens on September 10, 2012, 04:34:52 am
Nice. It's just a little annoying that you always want to note that the nspire is so bad. But it really isn't. The only thing TI was doing was doing was avoiding that people could cheat at school.
Title: Re: LuaZM v0.1 Beta Released
Post by: DJ Omnimaga on September 11, 2012, 03:31:50 am
Note that his post was a cross-post from Cemetech, which is less oriented in general towards the Nspire, and not much was changed in it. I also think this post is less anti-Nspire as it states that TI added Lua a year ago after the community demanded more programming capabilities.

Also not to continue the PRIZM vs Nspire debate, but Casio at least gave us another chance to play nice and avoid encouraging cheating with our use of ASM/C. TI didn't even bother giving us such chance, which probably explains some people's stance against TI.

Back on-topic, I wonder how easy it will be to port Lua games between both calcs?
Title: Re: LuaZM v0.1 Beta Released
Post by: Jim Bauwens on September 11, 2012, 06:20:24 am
I've been working on a compatibility layer for LuaZM that allows you to run Nspire games on the Prizm (although I don't know how it will be speedwise).
It's itsn't done yet, as debugging certain things isn't so easy for me as I don't have a Prizm :P
Title: Re: LuaZM v0.1 Beta Released
Post by: DJ Omnimaga on September 11, 2012, 01:08:59 pm
That would be great. On the PRIZM also we don't need to change the extension from .tns (or even .lua) to send the files to the calc so you would probably not need to require the user to do like gpSP or gbc4nspire, where they had to add an extra .tns at the end.
Title: Re: LuaZM v0.1 Beta Released
Post by: Juju on September 11, 2012, 06:43:11 pm
And how about porting a text editor so you can edit your Lua files on-calc?
Title: Re: LuaZM v0.1 Beta Released
Post by: Spenceboy98 on September 11, 2012, 07:07:21 pm
And how about porting a text editor so you can edit your Lua files on-calc?

zeldaking is working on that.
Title: Re: LuaZM v0.1 Beta Released
Post by: [email protected] on September 12, 2012, 07:56:31 pm
SO does this let you convert ti-boy 8xk files to the prizm?
Title: Re: LuaZM v0.1 Beta Released
Post by: [email protected] on September 12, 2012, 08:28:52 pm
I tried using this link http://www.ticalc.org/pub/nspire/lua/games/ but nothing works, even lua files
Title: Re: LuaZM v0.1 Beta Released
Post by: Darl181 on September 13, 2012, 05:16:13 am
I'm pretty sure that there's going to be something different between sources for the cx and prizm. I could be wrong tho, having barely ever touched lua :P

Edit: read first post more closely
Quote
Compatibility layers for Nspire and LuaFX programs may be coming soon.
Sometime in the future then ;)
Title: Re: LuaZM v0.1 Beta Released
Post by: KermMartian on September 14, 2012, 01:16:29 pm
[email protected]: The Lua files for the Nspire don't work directly, but if there are Nspire Lua projects you'd like to see on the Prizm, feel free to port them, once you get the original author's permission.
Title: Re: LuaZM v0.1 Beta Released
Post by: apcalc on September 14, 2012, 05:46:17 pm
Good work!  Thanks for the news! :)