How would you compare Lua with PascalScript? I was thinking to
implement pascal scripting later in my project.

2006/6/10, Bram Kuijvenhoven <[EMAIL PROTECTED]>:
Alexandre Leclerc wrote:
> I'm looking for an expression evaluator that is able of the following
> (and works under fpc - I tried TExpressionParser from Egbert van Nes
> but even if it compiles, it doesn't works... unless this is me not
> using it properly):

Recently I've been looking at the scripting language Lua (http://www.lua.org). 
Though it is much more general than an expression evaluator, it is also much 
more powerful and yet not very hard to embed in your program. Lua is
- extensible (you can place hooks about everywhere)
- well documented (there is a manual and a book available on the website)
- easy to learn (syntaxis is Pascal like with some C-like twists)
- fast in execution speed
- small in (binary) size
- multiplatform

The Lua engine is written in ANSI C. There are some headers for Pascal floating 
around on the net for Lua version 5.0. Since Lua 5.1 has some nice updates, I 
am considering to update the Pascal headers I found to Lua 5.1, and send them 
to FPC for the packages directory :) (in collaboration with the original author 
of the headers).

Regards,

Bram

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives



--
Alexandre Leclerc

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to