[Lazarus] Parser

Sven Barth pascaldragon at googlemail.com
Fri Jul 2 09:55:56 CEST 2010


Hi!

Am 02.07.2010 00:49, schrieb Adem:
> On 2010-07-01 20:14, Michael Van Canneyt wrote:
>> Well, if you need things to do:
>> - Make fcl-passrc complete. (*NOT* extract parser from compiler).
> I just cannot understand this: What is so holy about the 'parser from
> compiler'?
>> - use it to create a pascal to javascript translator.
>> - Create a .net backend code generator.
>> - Create a java bytecode backend code generator.
> Aren't all these some form of 'escape route's --from always Pascal to
> somewhere else?
>
> I mean, people --of course-- should be given opportunities to escape;
> but, what does it say about their concerns about Pascal in the first
> place :)
>
> Cheers,
>
> Adem

It's not about escaping Pascal, but to grant the language new 
possibilities.

On Android phones you can only use Java to access all subsystems of the 
device (e.g. GUI). You can access the framebuffer from native code 
though, but directly drawing to a memory field is not the same as using 
the available GUI classes. It has yet to be found out whether you can 
access the JVM from a native application (not a native library which is 
loaded by JVM).

Also the new Windows Phone 7 series relies completly on .Net, so our 
WinCE cross compiler is completly useless here (the usage of .Net is 
enforced by the kernel itself). And Microsoft might also try to prepare 
the way for full .Net desktop operating systems. Now that they've 
discovered virtualization (Windows 7 XP Mode) the compatibility problems 
might stop them no more. We might not see this in Windows 8 and maybe 
not in Windows 9 either. But perhaps Windows 10 might be the big breaker 
of Win32?

Free Pascal should be able to compile for these plattforms. But I don't 
mind to use a completly different RTL and object model that suits the 
targeted plattform, I only want to use the language which I believe is 
superior to C# and Java.

Regards,
Sven




More information about the Lazarus mailing list