[fpc-devel] Porting FPC to IBM zArch

Sven Barth pascaldragon at googlemail.com
Wed Jul 24 13:38:21 CEST 2013


Am 24.07.2013 12:37, schrieb Mark Morgan Lloyd:
> Jonas Maebe wrote:
>> On 24 Jul 2013, at 03:41, Bernd Oppolzer wrote:
>
>>> - Stanford Pascal (my version) allows (. .) and (/ /) as substitutes 
>>> for [ ]
>>
>> FPC also supports (. and .). It doesn't support (/ and /) though. 
>> Support for that could maybe be added under a new syntax mode or mode 
>> switch switch, but is this a common syntax? I've never heard of that 
>> one before.
>
> I'd suggest avoiding (/ /) as comments.
>
> Vector Pascal allows e.g. \+ as a reduction-addition operator, if FPC 
> ever considered implementing anything like this it would be desirable 
> to have \ and / unencumbered.
>
> http://www.dcs.gla.ac.uk/%7Ewpc/reports/compilers/compilerindex/vp-ver2.html 
>
>
Hmm... I like the idea of array operators :) Could be added as an 
additional modeswitch to avoid backwards compatibility problems with 
overloaded operators for arrays...

Regards,
Sven



More information about the fpc-devel mailing list