Cplua & "standard" Lua Compatibility
#1
Posted 30 September 2005 - 11:26 AM
1.- I am not sure if it has been stated which Lua version is the base for the CPLua project. Could you clarify?
2.- What's the portability of a program developed using CPLua to another platform. I am a bit confused about all the "extensions" mentioned in the CPLua thread. Obviously the CAS will not be supported in other platforms . I am mainly refering to the mentioned plotting library, the matrix stuff...
3.- CPLua use a "standard" version of the Lua interpreter and add some stuff on top of it? I mean, if the version of the "standard" Lua interpreter change it could be "easy" (that is almos inmediate) to switch to it in CPLua?
Sorry if the questions have been answered before but with seven pages it's getting a bit difficult to manage.
Please keep the good work (Orwell, PAP, ...).
#2
Posted 30 September 2005 - 11:37 AM
The last available version, Lua 5.0.2 . This can be verified with the global variable "_VERSION" in CPLua1.- I am not sure if it has been stated which Lua version is the base for the CPLua project. Could you clarify?
Well, the portability is possible as long as the program do not use ClassPad specific functions, packages or libraries. Those functions are detailed in the file "functions.txt". There are also some basis functions and packages (provided with Lua distribution) that are not (yet) activated in CPLua, because they need a major adaptation. Tell me if you want more specific details...2.- What's the portability of a program developed using CPLua to another platform. I am a bit confused about all the "extensions" mentioned in the CPLua thread. Obviously the CAS will not be supported in other platforms . I am mainly refering to the mentioned plotting library, the matrix stuff...
Indeed, the main modifications are made on top of the Lua kernel (that is, in the libraries etc). It should be easy to use a newer version of Lua, as long as it is compatible with Lua 5.0.23.- CPLua use a "standard" version of the Lua interpreter and add some stuff on top of it? I mean, if the version of the "standard" Lua interpreter change it could be "easy" (that is almos inmediate) to switch to it in CPLua?
No problem, it is indeed clearer to start a new topic so everyone could find the information more easilySorry if the questions have been answered before but with seven pages it's getting a bit difficult to manage.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users