Current Issues
From Yzis Wiki
Contents |
Scripting engine
We now use lua. Lua has the very big advantage that it works. We are still however considering other script framework or languages.
We will not switch to another scripting engine/binding if it is not as stable as the lua one, and if it does not bring significant advantages.
Lua
Lua is a small scripting language that is very lightweight and very easy to integrate.
Issues:
- The language or library is sometimes limitied. We had to add our own Regexp class to get decent regexp.
- '0' is not considered false in tests, which makes converstion from vim scripts difficult as many vim script implicitely relay on 0 being a false value.
- Lua has poor support of unicode. See [1]
Kross
Kross is the scripting engine developed for KOffice. It supports python, ruby and javascript.
More info:
Issues:
- It is not possible to register a script function, like we do for indentation. KRoss is only about letting an application declare a scripting API, not the other way round.
- Portability to windows might be problematic
- More investigation needed
Boost
Boost is a C++ library that uses template to generate all sort of stuff. They have excellent python binding generation and this has been ported to support Lua as well.
- home page: [4]
Issues:
- quite slow to compile
- tedious to install
- very easy to define bindings
- lua binding seems to be in a different state than python binding
- Needs more investigation
Qt4 QSA Script
Need to be investigated.
