Barth:

Yes, there is a distinction to be made between an interpreted environment,
say, GHCi, and instantfpc, which is simply a compiler wrapper just advanced
enough to let you ./ your Pascal programs. With a little more work,
instantfpc could become an interpreted environment.

I'll see if I can patch the fpc code to add shebangs as comments.

Cheers,

Andrew Pennebaker
www.yellosoft.us

On Sat, Oct 15, 2011 at 4:52 PM, Sven Barth <pascaldra...@googlemail.com>wrote:

> On 15.10.2011 19:56, Andrew Pennebaker wrote:
>
>> Yes, software bloat is to be avoided. In the simplest terms, I'm asking
>> for fpc to consider shebangs as comments. That little syntactical
>> addition wouldn't bloat fpc by much at all, but it would allow the same
>> code to be compiled by fans of fpc, and interpreted by fans of instantfpc.
>>
>
> You are aware that InstantFPC isn't interpreting the source file in the
> sense of e.g. a Basic interpreter? It only strips the shebang and invokes
> FPC with the parameters passed in the shebang. Afterwards the resulting
> executable is started using the parameters that were passed when invoking
> the script.
>
> If you still want FPC to ignore a shebang on the first line, you are always
> welcome to provide a patch and then it can be discussed whether this patch
> should be included in trunk.
>
> Regards,
> Sven
>
> ______________________________**_________________
> fpc-pascal maillist  -  
> fpc-pascal@lists.freepascal.**org<fpc-pascal@lists.freepascal.org>
> http://lists.freepascal.org/**mailman/listinfo/fpc-pascal<http://lists.freepascal.org/mailman/listinfo/fpc-pascal>
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to