Marco van de Voort wrote:
On Thu, Nov 22, 2007 at 07:52:59PM +0100, willem wrote:
I know that the lazarus grammar is based on yacc
I did some google search on the fpc
I do know that google searches results are not always correct.
I a a newby to the lazarus project.
but i did study compiler comnstruction 30 years ago.
Pascal has been founded by Prof niklaus Wirth as an an educational
computer language
and he has extended the backus -nauer form to EBNF.
Well I am going to extend ENBF with XML.
Grammar is very important as a base to study a language.
I want to start Andromedia.
The first effort will be documenting the delphi antlr grammar.
I will use XML for that.
because the the delphi grammar can easily be expanded with an XML
specification.
I did study websites with html and javascript. That horrible and it
takes a lot of time to understand that kind of thing
well i have 30 years of experience with computing problems
my first computer experience was with the intel 4004 but i am a newby on
this forum.
My intentention is is to start the androida project on sourceforge
I will then publish the delphi grammar for antlr.
Experienced Lazarus developpers can then suggest improvements on this
delphi grammar and so it becomes
lazarus grammar. I want to extend the delphi grammar with XML
So EBNF becomes XEBNF !!!
The FPC is recursive descent and is not based on yacc. Syntax highlighter
parsers don't have to be 100% correct.
Before you start you might also learn your target better, and at least
have
an idea how you are going to tackle porting unmanaged constructs to a
managed version.
Sorry you are wrong.
I have already the delphi grammar for antlr
There is even one in the Delphi's manual. But even that is not complete. How
can you be so sure yours is?
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives