Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-03

PascalScript

15 messages · 8 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author
to Juha gmail
Juha wrote 10 lines
Juha (gmail) kirjoitti lauantai, 26. maaliskuuta 2011 14:20:17: > How to get PascalScript for Lazarus on Linux? > > I have read this: > http://wiki.lazarus.freepascal.org/Pascal_Script > but didn't manage to get it. > Didn't find it in CCR. > REMObjects offers a Windows .exe or .NET version. Does it really mean there is no PascalScript for Lazarus?

As far as I know:
You can just use the sources. they simply don't provide a source file.

Michael.

Reply by email

Felipe Monteiro de Carvalho
to Juha gmail: Juha (gmail) kirjoitti lauantai, 26. maaliskuuta 2011 14:20:17: Does it really mean there…

Googling I found this link:

http://ko.sourceforge.jp/projects/sfnet_lazarus-ccr/downloads/Code%20and%20Component%20Packages/Pascal%20Script%203.0.3.54/pascalscript-3.0.3.54.zip/

It will open a korean page and then automatically start the download....

If I remember well, at some point there was some change in source forge and old folders got removed, so they had to be reinserted, or something like that ... likely pascalscript would need to be readded to be visible in the lazarus-ccr sourceforge download

Felipe Monteiro de Carvalho

Reply by email

Juha gmail
to Eugen Bolz

Eugen Bolz kirjoitti tiistai, 29. maaliskuuta 2011 18:48:20:

Show quoted text 5 lines
you could try ScriptEngineII, it is far more powerful than PascalScript. ;) http://sourceforge.net/projects/scriptengine2/ http://www.delphipraxis.net/140590-scriptengine-ii-v-0-6-a.html (german delphi-forum)

I tried to compile this Scriptengine2 but it also has x86 assembly. What is going on? It should be very possible to create a script engine without assembly but both PascalScript and Scriptengine2 use it.

I am not planning to use scripting in my own programs but I try to figure out how much work is porting a 3-D program called DeleD for Lazarus. http://www.delgine.com/

It has some libraries included in its source tree which are already ported to Lazarus, and I planned to just replace them.
PascalScript is one of those libraries.
Assembly code also in the ported version of PascalScript is a setback now.

Juha

Reply by email

leledumbo
to Juha gmail: Hi How to get PascalScript for Lazarus on Linux? I have read this:…

Download RemObjects version (sourceforge version is obsolete IMO), FPC is officially supported by them. Then you just use the provided .lpk and compile. There's no .exe given, except for unit importer (which strangely has no source code given) since PascalScript is written to be used as units, not standalone program.

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-PascalScript-tp2735188p2752105.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

Unknown author
to leledumbo

And this version works on Windows and Linux, 32 and 64 bits. Maybe I'm wrong, but the version of the PascalScript on Lazarus CCR don't work with 64 bits systems and the scriptengine2 don't work with linux. So, if you want run your application on a variety of systems, use the RemObjects version of the PascalScript.

Regards,

Fabio

2011/3/29 leledumbo

Show quoted text 18 lines
Download RemObjects version (sourceforge version is obsolete IMO), FPC is officially supported by them. Then you just use the provided .lpk and compile. There's no .exe given, except for unit importer (which strangely has no source code given) since PascalScript is written to be used as units, not standalone program. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-PascalScript-tp2735188p2752105.html Sent from the Free Pascal - Lazarus mailing list . -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110330/bd91ce5b/attachment.html>

Reply by email

Marco van de Voort
to Unknown author
Show quoted text 5 lines
And this version works on Windows and Linux, 32 and 64 bits. Maybe I'm wrong, but the version of the PascalScript on Lazarus CCR don't work with 64 bits systems and the scriptengine2 don't work with linux. So, if you want run your application on a variety of systems, use the RemObjects version of the PascalScript.

Probably you are right. IIRC Carlo did the 64-bit stuff last august.

Reply by email

Juha gmail
to Unknown author: And this version works on Windows and Linux, 32 and 64 bits. Maybe I'm wrong, but the…

Thanks!

In fact I didn't find the sources earlier from RemObjects page. Now I found them and updated the wiki page accordingly. http://wiki.lazarus.freepascal.org/Pascal_Script

PascalScript installed nicely now. The cross-platform porting has received lots of work. It has assembly code written for x86, x64 and ARM. That means it is still not completely cross-platform. FPC supports more processors than those 3.
I still don't understand why such program needs is a script language engine, not an OS kernel!

Regards,
Juha

kirjoitti keskiviikko, 30. maaliskuuta 2011 06:08:14:

Show quoted text 17 lines
And this version works on Windows and Linux, 32 and 64 bits. Maybe I'm wrong, but the version of the PascalScript on Lazarus CCR don't work with 64 bits systems and the scriptengine2 don't work with linux. So, if you want run your application on a variety of systems, use the RemObjects version of the PascalScript. Regards, Fabio 2011/3/29 leledumbo > Download RemObjects version (sourceforge version is obsolete IMO), FPC is > officially supported by them. Then you just use the provided .lpk and > compile. There's no .exe given, except for unit importer (which strangely > has no source code given) since PascalScript is written to be used as > units, > not standalone program.

Reply by email

Unknown author
to Juha gmail
Juha wrote 12 lines
Thanks! In fact I didn't find the sources earlier from RemObjects page. Now I found them and updated the wiki page accordingly. http://wiki.lazarus.freepascal.org/Pascal_Script PascalScript installed nicely now. The cross-platform porting has received lots of work. It has assembly code written for x86, x64 and ARM. That means it is still not completely cross-platform. FPC supports more processors than those 3. I still don't understand why such program needs assembly at all. It is a script language engine, not an OS kernel!

It is needed to call native functions from within the scripting language.

Michael.

Reply by email

Henry Vermaak
to Juha gmail
Juha wrote 6 lines
Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 13:59:26: > It has assembly code written for x86, x64 and ARM. > That means it is still not completely cross-platform. FPC supports more > processors than those 3. Actually it supports also PowerPC. That makes 4 processors. Still better.

Only darwin, but linux should be easy to add. Arm will need work to get it eabi ready.

Henry

Reply by email