[fpc-pascal] Re: Pascal Scripting Engines

2010-12-13 Thread leledumbo
RemObjects' PascalScript for me. Definitely what I want. Small, bytecode compiled, cross-platform (to some limits due to the use of assembler), no built-in function (for your security needs), easy registration of functions and classes, has unit importer, and something you won't have in any other

[fpc-pascal] SIGSEGV in SYSTEM_TOBJECT_$__CLEANUPINSTANCE when calling from C app

2010-12-13 Thread Matthias Klumpp
Hi! I created a C application which calls methods from a library developed in Pascal. I can create objects by using void *test; test = br_object_new (); and access the object too, but when I try to free an object after it has been used, I get a segfault in SYSTEM_TOBJECT_$__CLEANUPINSTANCE. The

Re: [fpc-pascal] SIGSEGV in SYSTEM_TOBJECT_$__CLEANUPINSTANCE when calling from C app

2010-12-13 Thread Juha Manninen
Matthias Klumpp kirjoitti maanantai 13 joulukuu 2010 18:50:46: if obj^ = nil then exit; FreeAndNil(obj^); Shouldn't it be: // if obj = nil then exit; -- not really needed FreeAndNil(obj); Juha ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: Pascal Scripting Engines

2010-12-13 Thread David Butler
Blaise also offers strongly and statically typed variables. In fact, Blaise allows both statically and dynamically types variables. On 13 December 2010 18:16, leledumbo leledumbo_c...@yahoo.co.id wrote: RemObjects' PascalScript for me. Definitely what I want. Small, bytecode compiled,

Re: [fpc-pascal] SIGSEGV in SYSTEM_TOBJECT_$__CLEANUP INSTANCE when calling from C app

2010-12-13 Thread Matthias Klumpp
On Mon, 13 Dec 2010 22:34:38 +0200, Juha Manninen juha.mannine...@gmail.com wrote: Matthias Klumpp kirjoitti maanantai 13 joulukuu 2010 18:50:46: if obj^ = nil then exit; FreeAndNil(obj^); Shouldn't it be: // if obj = nil then exit; -- not really needed FreeAndNil(obj); Yes, right.

Re: [fpc-pascal] Pascal Scripting Engines

2010-12-13 Thread Benjamin Jan Alexander Rosseaux
You can also have a look to BESEN http://besen.sourceforge.net/ which is a full ECMAscript 5th Edition (a ka JavaScript) standard compliant scripting engine, which is developed by me. It has even a JIT for x86 x64. Am 10.12.2010 20:18, schrieb Andrew Brunner: Hi there, I'm considering