Omnimaga
Calculator Community => TI Calculators => Lua => Topic started by: Nick on December 08, 2011, 06:40:07 pm
-
I'm making a guide with all the lua commands for the nspire. If you have some comments, advices or whatever, tell me..
Maybe make a graphical interface, with more 'effects', i don't know, share your ideas, or you can help me finding an example or function for the commands below
- clipboard (all functions)
- toolpalette (not register)
- D2editor (all functions)
(http://img.removedfromgame.com/imgs/LuaGuide.gif) (http://img.removedfromgame.com/imgs/LuaGuide2.gif)
-
IN LUA, FOR LUA.
/me wants to get cx
-
This will be very helpful! Good job.
-
This will be really, really, really useful to me.
And your interface looks good. I'd just like a convenient documentation.
When I program with OCLua (really often), sometimes I just can't remember some functions.
-
So.... Inspired-Lua-Wiki (http://wiki.inspired-lua.org) in the pocket ? :D
Very nice, really :)
Will be a nice thing to program on OcLua when you have that along :)
I'll have to translate that into french, too :)
-
Are you batch-exporting the documentation from the wiki?
-
what is batch-exporting? i'm just rewriting it, so it all fits on the screen, that's it :)
UPATE:
i'm also adding the mathematical functions/comparisons, table operations, string operations etc, so all the most important elements are present
i only need some help for the toolpalette.enable and the D2Editor, does anyone have some experience with those?
-
I mean since there's already online doc, you could just download the content and reformat it.
-
yep, for those who like programming on calc with oclua for example, or maybe a real on-calc program will appear that saves it directly to a .tns so this might be usefull when no pc is available
-
Well, means making basically something to read the original wiki pages (you can easily export (download them).
This way you could always keep it up to date with almost no work.
-
hmm, sounds a lot more simple indeed, how could you convert them to readable pages?
-
You could first download all the pages you want to be in your app, then make some kind of script (in whatever language you want) that reads the html output (or the wiki source directly...) and formats everything the way you want for your guide.
If everything is all correctly setup, it would really be easy to get new updates on your guide when they get avilable on the wiki ;)
A while ago, I asked TI if they could provide some xml formatted API documentation, with everything in a known format. It would be used in their Lua SDK but could be a great help for the wiki too and your program, for example.
I dont know if they did it or plan to do so.... I'll ask them again :P
-
ON the computer side, maybe wget in recursive mode + HtmlUnit to extract the interesting parts + some formatting.
-
are they planning to make a real lua sdk? nice :) well, tbh, i don't know any language except lua, so that would be hard to make xs but that doc would certainly be usefull
-
Yes, TI plans to have a Lua SDK in 2012, as announced on their site ;)
(which some of us here -levak, critor, jimbauwens and myself) are alpha/beta-testing, but here we can't talk about it, really :P)