views:

179

answers:

7

i want my own pascal code to be executed it also have some uses files and other complex functions just like a Delphi code can i do this

+9  A: 

Yes:

This component is used in the highly popular Inno Setup installer software.

Andreas Rejbrand
+1  A: 

Depends how much pascal you want to interpret. Pascal Script will interpret most stuff but you can't declare classes in a script (You can however import them using script functions). You can't use "uses" clauses either.

If you want to do full on pascal support you're going to have to compile it. You could probably use the FreePascal one providing your app's licensing is compatible (GPL).

Biblin
no i want uses command
Vibeeshan
Since FPC can be left external, GPl is of no import.
Marco van de Voort
+3  A: 

Another option, which is useful if you want to support more than just Pascal syntax, would be Fast-Script by the makers of Fast-Report.

skamradt
+4  A: 

Delphi Web Script is now under active development again.
Previously it was good; now it is becoming great.
You can download it on Google Code.

--jeroen

Jeroen Pluimers
+1  A: 

There's also paxCompiler

LachlanG
pax compiler is realy good
Vibeeshan
+1  A: 

TMS has both a scripting engine and a scripting IDE product.

LachlanG
but too costly for me
Vibeeshan
A: 

Can we get free units just like Delphi's (windows.pas,system.pas) for rem object pascal script

Vibeeshan
already innosetup source code have some free units but can i distribute it with a commercial software
Vibeeshan