[fpc-pascal] Pascal Scripting Engines

Andrew Brunner andrew.t.brunner at gmail.com
Fri Dec 10 21:05:20 CET 2010

I think FPC in general could benefit from a native FPC script.  They have a
link to a port of REM objects but the website said it was with flaws and
tests were needed under linux.

A light-weight scripting engine would need to be restricted to methods and
object code.  And perhaps some level of access to the networking engine each
script would be called from.

IMO, the scripting engine would either be completely thread safe or would
have to have multiple instances one per thread.

Do you still have your code?  I wonder if the FPC memory manager could
handle such an engine running over and over again without losing memory.

On Fri, Dec 10, 2010 at 1:27 PM, Jorge Aldo G. de F. Junior <
jagfj80 at gmail.com> wrote:

> I once wrote a script engine that generated bytecodes.
> At the time it was harder due to defective variants support (something
> like that).
> Now it would be easier.
> 2010/12/10 Andrew Brunner <andrew.t.brunner at gmail.com>:
> > Hi there,
> >
> > I'm considering pascal scripting engines in stead of hot-swaped compiled
> > stored objects/dlls for server back-end development for clients (namely
> > WebSocket/JS).  I came across a few relatively recent solutions and
> wanted
> > to know if there are any obscure "light weight" scripting engines but yet
> > leverage byte code.  My largest problem would be security though.  I
> would
> > want to limit script engine access to OS level calls.  I need to be able
> to
> > "sandbox" these back-end apps so they don't interfere with the server
> > process.
> >
> > Any thoughts/recommendations?  Thanks.
> >
> > _______________________________________________
> > fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101210/456874b6/attachment.html>

More information about the fpc-pascal mailing list