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

Marco van de Voort marcov at stack.nl
Sat Oct 15 17:35:03 CEST 2011


In our previous episode, Andrew Pennebaker said:
> Good idea, van de Voort. Can someone confirm that fpc plays nicely with
> shebangs in a version after 2.4.4?

I just tried, and it doesn't. I assume that it was talked about and got stuck in
my mind, but it never really was implemented.
 
> And Sch?fer, I respect Pascal for being a compiled language. I myself and
> fond of Haskell. But Haskell has a scripted mode, and instantfpc, like all
> good interpreters, compiles code in the background. It's simply a
> convenience to write scripts, whether the language you're using is mostly
> interpreted or mostly compiled.

It works surprisingly good with FPC, probably because small programs in FPC
don't need special parameters to compile. 




More information about the fpc-pascal mailing list