[Lazarus] Parser

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Jul 1 14:27:22 CEST 2010


Florian Klaempfl schrieb:

>> I'm still dreaming of a FreeWirth (though admitted, M2 is so close (both
>> parsing, modulesystem and language type) that one could regard it as a
>> dialect.
> 
> Aren't you against a e.g. .Net backend because it requires a completely
> different runtime :)? I think the same applies to M2 etc. as well?

IMO we could separate the language itself (syntax) from the RTL (semantics).

At least I can imagine the use of a different syntax at the procedure 
body (block, statement...) level, like already implemented for assembly 
language blocks. The requirement of *full* M2, Oberon or P# <g> 
compatibility IMO is very low, due to the few existing 
(public/commercial) projects in these languages.

We also could make FPC an playground for language designers, which could 
implement their own languages in dedicated front-ends, as long as they 
use the existing FPC system library, tree nodes and other data 
structures, as far as these are hard-coded in the compiler, optimizer 
and code generators.

In contrast the implementation of parallel RTLs may be a bad idea, we 
already have enough problems with platforms and widgetsets...

DoDi





More information about the Lazarus mailing list