Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
20 May, 2013, 01:25:01 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Lua on calc guide -  (Read 986 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:51:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Topic starter
Total Post Ratings: +158

View Profile WWW
« on: 09 December, 2011, 01:40:07 »
+4

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)

 
« Last Edit: 09 December, 2011, 01:42:25 by Nick » Logged

epic7
Chopin!
LV11 Super Veteran (Next: 3000)
***********
Online Online

Gender: Male
Last Login: Today at 01:12:25
Date Registered: 22 October, 2011, 01:45:43
Location: Northeast US
Posts: 2161


Total Post Ratings: +118

View Profile
« Reply #1 on: 09 December, 2011, 01:44:29 »
0

IN LUA, FOR LUA.
* epic7 wants to get cx
Logged



Current Projects:
TitleLanguageProgressStatus
DrillMiner    C (ndless)   35%         Active
?     C (ndless)   0%        Unconfirmed

Spoiler for Programming languages I currently know:
Java (Learning in AP Comp Sci)
C (Specifically Ndless)
Unity JavaScript
LabView (For FIRST robotics)
z80 ASM (Just a little bit Tongue)
cyanophycean314
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: 03 May, 2013, 19:28:34
Date Registered: 07 December, 2011, 02:44:32
Location: Somewhere?
Posts: 363


Total Post Ratings: +42

View Profile
« Reply #2 on: 10 December, 2011, 00:05:26 »
0

This will be very helpful! Good job.
Logged

Chockosta
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Yesterday at 14:49:14
Date Registered: 03 June, 2011, 20:14:17
Location: France
Posts: 440


Total Post Ratings: +159

View Profile
« Reply #3 on: 10 December, 2011, 20:21:55 »
0

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.
« Last Edit: 10 December, 2011, 20:22:45 by Chockosta » Logged

Chockosta (Loic Pujet) - Sorry for my poor English...
Look at my projects :
in C code : Periodic table, Space invaders, Fall, Snake, Minesweeper, nCraft (WIP)
in Lua : Snake, Space invaders, Bobby Carrot, Minesweeper, Mazes 3D, nSpaint, FreeCell, Tiny3D-Viewer, CubeField, Gravity Guy
adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: Today at 00:38:33
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1196


Total Post Ratings: +185

View Profile WWW
« Reply #4 on: 10 December, 2011, 21:57:05 »
0

So.... Inspired-Lua-Wiki in the pocket ? Cheesy

Very nice, really Smiley

Will be a nice thing to program on OcLua when you have that along Smiley


I'll have to translate that into french, too Smiley
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #5 on: 11 December, 2011, 03:11:41 »
0

Are you batch-exporting the documentation from the wiki?
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:51:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #6 on: 11 December, 2011, 10:10:34 »
0

what is batch-exporting? i'm just rewriting it, so it all fits on the screen, that's it Smiley

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?
Logged

ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #7 on: 11 December, 2011, 10:20:33 »
0

I mean since there's already online doc, you could just download the content and reformat it.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:51:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #8 on: 11 December, 2011, 10:52:14 »
0

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
Logged

Jim Bauwens
Lua! Nspire! Linux!
Editor
LV10 31337 u53r (Next: 2000)
*
Offline Offline

Gender: Male
Last Login: Today at 00:47:15
Date Registered: 28 February, 2011, 22:32:12
Location: Belgium
Posts: 1733


Total Post Ratings: +180

View Profile WWW
« Reply #9 on: 11 December, 2011, 12:11:47 »
0

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.
Logged

Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:51:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #10 on: 11 December, 2011, 12:23:24 »
0

hmm, sounds a lot more simple indeed, how could you convert them to readable pages?
Logged

adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: Today at 00:38:33
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1196


Total Post Ratings: +185

View Profile WWW
« Reply #11 on: 11 December, 2011, 13:01:41 »
0

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 Wink

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 Tongue
« Last Edit: 11 December, 2011, 13:03:39 by adriweb » Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
ExtendeD
Coder Of Tomorrow
LV8 Addict (Next: 1000)
*
Offline Offline

Gender: Male
Last Login: Yesterday at 21:15:19
Date Registered: 02 January, 2010, 13:03:41
Location: France
Posts: 765

Total Post Ratings: +151

View Profile
« Reply #12 on: 11 December, 2011, 13:07:36 »
0

ON the computer side, maybe wget in recursive mode + HtmlUnit to extract the interesting parts + some formatting.
Logged

ndlessly - Progress and insights on Ndless
Ndless / Hackspire - Third-party TI-Nspire development
Nick
LV9 Veteran (Next: 1337)
*********
Offline Offline

Gender: Male
Last Login: Yesterday at 19:51:51
Date Registered: 05 June, 2011, 20:01:07
Location: 51° 12′ 34″ N, 3° 13′ 31″ E
Posts: 1178


Topic starter
Total Post Ratings: +158

View Profile WWW
« Reply #13 on: 11 December, 2011, 13:08:50 »
0

are they planning to make a real lua sdk? nice Smiley 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
Logged

adriweb
Editor
LV9 Veteran (Next: 1337)
*
Offline Offline

Gender: Male
Last Login: Today at 00:38:33
Date Registered: 13 April, 2011, 18:42:59
Location: South of France
Posts: 1196


Total Post Ratings: +185

View Profile WWW
« Reply #14 on: 11 December, 2011, 14:58:59 »
0

Yes, TI plans to have a Lua SDK in 2012, as announced on their site Wink
(which some of us here -levak, critor, jimbauwens and myself) are alpha/beta-testing, but here we can't talk about it, really Tongue)
Logged


TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.231 seconds with 31 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.