Omnimaga
Calculator Community => Other Calculators => Topic started by: critor on December 18, 2011, 09:53:42 am
-
Cross-posted from TI-Planet.
http://tiplanet.org/forum/viewtopic.php?f=43&t=8569
There are two kinds of Lua functions:
- the ones documented by TI: they should still work in the next OS
- the other ones: we discovered them by ourselves, but they could be modified or removed in the next OS
Some Lua programs might not work anymore is the next OS if you don't stick to the official Lua API..
For exemple, setAlpha() which is used in many games is missing in the next OS development versions we are testing. (information revealed with TI's agreement)
In order to help you, Inspired-Lua.org is now specifying for each function if it is documented by TI or not.
http://inspired-lua.org
-
Sooo... Instead of giving us more to play with in the next OS to keep us away from ndless, they're taking stuff away or changing it?
-
Sooo... Instead of giving us more to play with in the next OS to keep us away from ndless, they're taking stuff away or changing it?
They're also adding things, but we cannot talk about them yet.
-
Sooo... Instead of giving us more to play with in the next OS to keep us away from ndless, they're taking stuff away or changing it?
The problem is certain stuff doesn't work properly or is a bit bugged. That is why they did not mention it officially.
And don't worry about removing stuff, they will give us plenty to play with next release :)
-
I really hope this means they're trying to optimize for better speed. I'd imagine handling an 8-bit alpha value for every pixel wouldn't be the speediest operation.
-
Yes, they are trying to optimize certain stuff :)
-
They're also adding things, but we cannot talk about them yet.
can you tell us if they are improving UTF-8 support in lua scripts?
-
It's been requested, we don't know right now.
-
UTF-8 support is quite good with their added utf-8 functions.
It only misses the ulen function, and I requested that :)
-
Hmm I hope they won't end up breaking compatibility with old Lua programs every single version release now. That would surely discourage anyone from continuing using the language (or upgrade).
-
It's been requested, we don't know right now.
thank you
UTF-8 support is quite good with their added utf-8 functions.
It only misses the ulen function, and I requested that :)
but it is not possible for us to have characters like á,à,ó,... in lua scripts because it causes the computer software to instantly close without any warning in the moment we are pasting the script in a document.
-
This is why Critor gives the warning to only use the official stuff.
As far as I know you don't need to worry about the stuff in their documentation :)
@Renatose, this depends on how the file is stored (windows, nix, ascii, utf-8).
But I think that TI is doing its best to fix all these bugs.
-
They really do try what they can to provide a good compatibility.
(That's pretty much a quote from a TI employee)
And don't forget we should not even be aware of Lua right now (until the release of the SDK) :P
And yeah, if you stay with what their doc says, it's going to be OK :)
-
Well there's an official Lua scripting page with public tools and documentation, so yes we are aware of it :)
-
Ok well I hope they keep documented stuff compatible then, else if they don't, it would simply kill Lua fanbase over time. Imagine if on the 83+, they kept breaking TI-BASIC commands every few OS or if Quigibo kept breaking compatibility with every Axe Parser release, both language popularity would suffer (although Axe is compiled so it isn't as bad).
-
Well there's an official Lua scripting page with public tools and documentation, so yes we are aware of it :)
Oh, that's only because we asked them something like "WHY U NO TELL US", so they quickly made a page up on their site ;)
-
Well there's an official Lua scripting page with public tools and documentation, so yes we are aware of it :)
Oh, that's only because we asked them something like "WHY U NO TELL US", so they quickly made a page up on their site ;)
Which isn't even linked anywhere on it (only can be found via Google) it seems x.x
Also someone should probably put this in news.