[fpc-pascal] Any command line interpreters for Free Pascal?

Florian Klämpfl florian at freepascal.org
Sat Oct 15 12:18:58 CEST 2011


Am 15.10.2011 12:10, schrieb Marco van de Voort:
> In our previous episode, Michael Van Canneyt said:
>>> Yeah, I know to chmod my scripts before dot-slashing them. It's just that fpc can't handle shebangs, and I don't
>>> want to have to choose either scripting or compiled. I like my Pascal code to be work in either mode.
>>
>> It's always compiled. 
>> instantfpc just strips the first line, passes the rest to the compiler 
>> and executes the resulting program. Add some caching for performance, 
>> and that's it.
> 
> I still think instantfpc fails miserably in my primary need for scripting:  installing FPC
> :-)

So you need some packer for instantfpc scripts which puts together fpc
and basic rtl which are uncompressed for the actual installation :)




More information about the fpc-pascal mailing list