Non-ASCII identifiers (was: Re: [fpc-devel] Forwarded message about FPC status)

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Mon Dec 24 12:07:40 CET 2012


Martin Schreiber wrote:
> On Monday 24 December 2012 10:23:00 Sven Barth wrote:

>> As I already wrote there are currently no plans to change that FPC supports
>> only ASCII identifiers.
> 
> I don't think we can trust on that. I hoped that FPC will not use cpstrnew 
> too. So if somebody implements non ASCII identifiers because he needs a 
> second source Delphi compiler it will be merged because the addition does not 
> break existing code. I assume utf-8 identifiers would not be very difficult 
> to do in compiler.

But what will the rule be as to whether something's a valid identifier? 
Will it have to start with something known to be a letter, or something 
not known to be a digit or reserved character?

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list