Alexandre Leclerc wrote:
How would you compare Lua with PascalScript? I was thinking to implement pascal scripting later in my project.
I have no actual experience with PascalScript, though I read the webpage on the remobjects website. I also considered PascalScript for my application, but chose Lua. My considerations: PascalScript is of course very focused on Delphi, and nicely integrates with Object Pascal. Lua has a C interface. But then again, you can also use the Lua scripting engine when you're writing an application in another language than Object Pascal. (BTW the Lua C interface is very nice and clean, unlike e.g. MySQL's :) ) Lua is really used for big projects, like commercial games. No surprise Google gives you about 1 700 000 hits on 'Lua script' (note that Lua is Portugese for moon, so a search on simply 'Lua' fould not be fair). Searches on 'PascalScript', '"Pascal Script"', 'Innerfuse Pascal Script' and 'RemoObjects Pascal Script' give only from about 800 to at most 32 000 hits. (the query 'Pascal Script' (without "-quotes!) is of course too general here and gives over 6 000 000 hits) Of course, PascalScript is used for at least some widely known projects, such as Inno Setup. Lua has good performance when compared to other scripting languages. (look at the language shootout at http://shootout.alioth.debian.org/) I could in not find all the information I needed about PascalScript; in particular I missed information about its performance. Lua is developed at a university, PascalScript by a company. (well roughly said) Lua is released under the MIT license (which is really nice :) ) I can imagine PascalScript is the choice for RAD applications. If you can make it compile with Lazarus (I do not know its current status), I think it is a very powerful RAD tool. For other applications (mine is a report generator) Lua might be just what you need. Perhaps, you might want to experiment a bit with both (and perhaps other candidates as well) before you decide! Regards, Bram _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
