Omnimaga
Calculator Community => TI Calculators => Lua => Topic started by: critor on April 12, 2011, 09:01:13 pm
-
The real 3.0 Periodic Table face :
http://tibank.forumactif.com/t6885-topolangage-script-ti-os-30-enfin-un-langage-api#109245
I've just newsed about the new Nspire "secret" programming language included in OS 3.0! (according to our first investigations some kind of an object oriented script, very similar to Lua)
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1042
-
Yes, they would.
Wow. I thought that be against the law or something. Do they at least have to warn people that they are buying a flawed product?
lolwow
Are you using MS Windows right now?
-
Yes, they would.
Wow. I thought that be against the law or something. Do they at least have to warn people that they are buying a flawed product?
The product itself isn't flawed, the software simply has a bug (which doesn't produce incorrect results, but just gives an error message). That's what OS updates are for.
-
Yes, but they don't have to patch it if they don't want to. Critor has complained to TI about OS bugs, and they haven't fixed them. (If I remember correctly)
-
Yes, but they don't have to patch it if they don't want to. Critor has complained to TI about OS bugs, and they haven't fixed them. (If I remember correctly)
If said OS bugs were not part of the math functionality, they'd have less incentive to fix them. I'm sure they'll fix fundamental glitches in the math functions (and didn't someone in that google groups topic say something about a reply from TI that they planned to fix the bug?)
-
The real 3.0 Periodic Table face :
http://tibank.forumactif.com/t6885-topolangage-script-ti-os-30-enfin-un-langage-api#109245
Are we currently able to use this or will it require a software hack?
I've just newsed about the new Nspire "secret" programming language included in OS 3.0! (according to our first investigations some kind of an object oriented script, very similar to Lua)
http://ti.bank.free.fr/index.php?mod=news&ac=commentaires&id=1042
-
Yes, but they don't have to patch it if they don't want to. Critor has complained to TI about OS bugs, and they haven't fixed them. (If I remember correctly)
If said OS bugs were not part of the math functionality, they'd have less incentive to fix them. I'm sure they'll fix fundamental glitches in the math functions (and didn't someone in that google groups topic say something about a reply from TI that they planned to fix the bug?)
For information, I've reported a math bug giving a bad result with complex numbers on all TI-83/83+/84+ OSes.
2 years ago...
They replied with a "thank you", and "we're forwarding to the development team".
They never fixed anything... The bug is still there in the 84+ 2.56MP OS.
angle(N) with N being a negative real number returns Pi in both radian and degree angular modes.
In degree mode, it should return 180.
Of course, a human will automatically replace Pi by 180.
But a program will just continue to perform its operations using the wrong value, if its developer wasn't aware of the bug.
-
Yes, but they don't have to patch it if they don't want to. Critor has complained to TI about OS bugs, and they haven't fixed them. (If I remember correctly)
If said OS bugs were not part of the math functionality, they'd have less incentive to fix them. I'm sure they'll fix fundamental glitches in the math functions (and didn't someone in that google groups topic say something about a reply from TI that they planned to fix the bug?)
For information, I've reported a math bug giving a bad result with complex numbers on all TI-83/83+/84+ OSes.
2 years ago...
They replied with a "thank you", and "we're forwarding to the development team".
They never fixed anything... The bug is still there in the 84+ 2.56MP OS.
angle(N) with N being a negative real number returns Pi in both radian and degree angular modes.
In degree mode, it should return 180.
Of course, a human will automatically replace Pi by 180.
But a program will just continue using the wrong value...
Well yes, I realize that they don't care about TI-84+ bugs anymore. But for their shiny TI-Nspire line, they actually care about that stuff it seems.
-
Are we currently able to use this or will it require a software hack?
Use what, the periodic table? If it's a page that can be added to documents, or a program like the scratchpad, I doubt we can use it on the non-CX nspires. If it's a tns, it should work on any OS3 nspire.
-
I hope they care about TI-Nspire bugs. Theyt already have a bad enough rep on stuff like that(mainly from us). If they keep it up they will probably start losing lots of customers
EDIT:Are we currently able to use this or will it require a software hack?
Use what, the periodic table? If it's a page that can be added to documents, or a program like the scratchpad, I doubt we can use it on the non-CX nspires. If it's a tns, it should work on any OS3 nspire.
I was talking about the scripting language that makes it work
By the way I downloaded this app and have not seen any real special functionality what is it supposed to be able to do on nonCAS Nspire?
I don't think any of what I'm seeing would require a scripting language I have a version much like this on my calc already that is community made
-
I hope they care about TI-Nspire bugs. Theyt already have a bad enough rep on stuff like that(mainly from us). If they keep it up they will probably start losing lots of customers
See, the problem is that they don't have to care. Schools (their main source of calculator purchases) will buy them anyway. I'd have a Prizm right now if the OS was a little better, but IMO TI dosen't have any close competitors.
-
Are we currently able to use this or will it require a software hack?
Use what, the periodic table? If it's a page that can be added to documents, or a program like the scratchpad, I doubt we can use it on the non-CX nspires. If it's a tns, it should work on any OS3 nspire.
I suppose he was meaning "using the script language behind the periodic table".
And the answer is no.
We can only use it if we get the special software to insert/edit "TI.ScriptApp" widgets.
The, TI-Nspire Developer Edition?
It seems John Powers has it.
No wonder they're trying to kill Ndless. They'll be able to sell that software, and/or the generated documents! :P
-
I wonder if they'll try to sell the SDK and if so when and for how much. I will not pay much for it(most $20) otherwise I can get a copy of it off the internet easily enough if they release it.
yeah that was what I meant. we'lll have to hack it or maybe John Powers will be nice and give it to us
-
I wonder if they'll try to sell the SDK and if so when and for how much. I will not pay much for it(most $20) otherwise I can get a copy of it off the internet easily enough if they release it.
yeah that was what I meant. we'lll have to hack it or maybe John Powers will be nice and give it to us
John Powers was allready in the TI-68k development team.
I don't think you'll get anything from him by simply "asking" for it.
-
Petition maybe?
A hack will proably be our best idea for now.
so what exactly is the scripting language(Lua) doing in the periodic table file?
-
Petition maybe?
A hack will proably be our best idea for now.
so what exactly is the scripting language(Lua) doing in the periodic table file?
Lots of things that are totally impossible with the public TI-Nspire programming language.
If you don't understand, just try to program something like that on a TI-Nspire without using Ndless.
-
I kind of see what it is doing. Just it doesn't seem that revolutionary. Easier browsing and a nice view position. Doesn't have as much data as my other one but is easier to navigate.
In the image of it it looks like it does a lot more on my calc it has no kind of pop-out menus
-
Well, the most important information is not that a periodic table has been released... That's not revolutionary.
The most important information is that the ti-Nspire now supports a new "private" programming language.
And that even TI is releasing documents using this "private" language, and not the "public" one! :P
And by digging into the code, it seems very advanced for a script: an object oriented script!
It seems to handle classes and inheritances! (yes, like C++ or Java...)
-
I heard that it had the same syntax as Lua. Is that true?
I mean nothing revolutionary is being done. It doesn't seem to be all that different froma regular program
EDIT: Never mind I hadn't been pressing enter on them and didn't realize what it could do. This truly is pretty good. I see many uses
-
I heard that it had the same syntax as Lua. Is that true?
I mean nothing revolutionary is being done. It doesn't seem to be all that different froma regular program
If you still don't understand, just try to create such regular programs on the TI-Nspire and come back after that.
Did you even know that the TI-Nspire public programming language was very limited... even the TI-80/81 and Casio programming languages are more advanced!
I didn't state it was revolutionnary.
This is just information: the "public" programming language, which is so wonderfull according to T3 teachers is not even used by TI to release Nspire documents. They're using a "private" programming language.
-
Please look at my edit. I hadn't realized all of what it could do so I thought it was not as good as it is. It actually is pretty good and apears to be very useful.
-
Please look at my edit. I hadn't realized all of what it could do so I thought it was not as good as it is. It actually is pretty good and apears to be very useful.
Oh, yes :)
Ok.
-
Who wants to make a technical post to introduce the new, private programming language onto the tinspire Google group ? :D
-
First Lua game on the TI-Nspire ;D
-
Great, congratulations ;)
-
O.O
This makes me want to update now O.O
/me grabs TNOC, though...
EDIT: Wow that is great. Simple but I'm so happy to see non-BASIC stuff already running on the Nspire OS 3.0, even if it's not pure ASM/C. Great job guys with your discoveries!
-
1 week without game on Nspire. Dude, it was hard to survive \o/
-
1 week without game on Nspire. Dude, it was hard to survive \o/
I imagine :P Does the Basic have getKey already?
-
Nope, the Nspire's BASIC still doesn't contain getKey or drawing, AFAWCT.
-
... whereas in the Nspire Lua API, we've got a Graphic Component/Content/Controller (choose the one you like) named gc.
For example :
gc:setFont()
gc:setColorRGB()
gc:setPen()
gc:drawRect()
gc:fillRect()
etc ...
-
... whereas in the Nspire Lua API, we've got a Graphic Component/Content/Controller (choose the one you like) named gc.
For example :
gc:setFont()
gc:setColorRGB()
gc:setPen()
gc:drawRect()
gc:fillRect()
etc ...
That's awesome, I should get OS 3.0 and start coding some Lua games.
-
First Lua game on the TI-Nspire ;D
Don't forget to add 2 new options in your emulator ;)
"Export XML"
"Import XML"
By the way, a third option "Nspire -> PC *.tns download" could be great :p
-
do we hav to know XML to program?
-
Probably not - someone is bound to make tools that ease this particular part of Nspire Lua programming :)
-
do we hav to know XML to program?
Have a little look, here :
http://tibank.forumactif.com/t4905-tuto-syntaxe-du-fichier-tns
-
Oh this is nice, I didn't know that was available. Someone should translate this in English at one point. Thanks Levak. :D