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 < jagf...@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.brun...@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@lists.freepascal.org > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal