That may be because it is no longer possible to write a BNF grammar for
these compilers due to the c-style extensions.
AFAIK if a parser can be made for an extension, so is the grammar.
There are some language constructs that is simply not posible with a LL(1)
parser,
when comparing to the
is a complete grammar for fpc written in some variant of BNF available
somewhere?
I searched the website and the wiki, to no avail.
AFAIK, there's none. The developers adding language features by directly
modifying the code. Even there's a bounty for it. See:
In our previous episode, leledumbo said:
is a complete grammar for fpc written in some variant of BNF available
somewhere?
I searched the website and the wiki, to no avail.
AFAIK, there's none. The developers adding language features by directly
modifying the code. Even there's a
There is not even a proper open one for Delphi. At least there wasn't till a
while back.
That may be because it is no longer possible to write a BNF grammar for
these compilers due to the c-style extensions.
___
fpc-pascal maillist -
On 16 Oct 2009, at 10:42, Jürgen Hestermann wrote:
That may be because it is no longer possible to write a BNF grammar
for these compilers due to the c-style extensions.
BNF grammars exist for C (e.g. as part of the ANSI C standard) and
even for C++. Please don't start a language war in
In our previous episode, J?rgen Hestermann said:
There is not even a proper open one for Delphi. At least there wasn't till a
while back.
That may be because it is no longer possible to write a BNF grammar for
these compilers due to the c-style extensions.
Odd that there are grammers for
descent parser
is faster than one generated automatically from a BNF grammar.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
The reason is probably more because Wirthian languages traditionally use
recursive descent parsers.
gcc as well for several years simply because a recursive descent parser
is faster than one generated automatically from a BNF grammar.
That is true, but the _expression_
On Thu, Oct 15, 2009 at 9:28 PM, Marc Santhoff m.santh...@web.de wrote:
is a complete grammar for fpc written in some variant of BNF available
somewhere?
Gold parser builder has a BNF grammar for Delphi 7 (AFAIK, incomplete):
http://www.devincook.com/goldparser/grammars/index.htm
Regards,
In our previous episode, Florian Klaempfl said:
these compilers due to the c-style extensions.
Odd that there are grammers for C and C++ then, and they have no problem :-)
Please don't grab any random other thread to make your point.
The reason is probably more because Wirthian
On 16/10/2009 10:53, Florian Klaempfl wrote:
Marco van de Voort schrieb:
In our previous episode, J�rgen Hestermann said:
There is not even a proper open one for Delphi. At least there wasn't till a
while back.
That may be because it is no longer possible to write a BNF grammar for
these
Frank Peelo schrieb:
Is the problem that you start off with a grammar, write the parser, then
maintain the parser without updating the grammar?
Every early FPC (FPK Pascal) prototypes in 1993 used yacc as well but it
was simply too slow and also memory consuming at these days.
Florian Klaempfl schrieb:
Frank Peelo schrieb:
Is the problem that you start off with a grammar, write the parser, then
maintain the parser without updating the grammar?
Every early FPC (FPK Pascal) prototypes in 1993 used yacc as well but it
Very early ...
mar...@stack.nl:
The reason is probably more because Wirthian languages traditionally use
recursive descent parsers.
Yeah, right.
The reason is most definitely that of all those people who know the language
well enough to write the grammar, there's no one actually doing it.
Of course, with
On Fri, Oct 16, 2009 at 4:58 AM, leledumbo leledumbo_c...@yahoo.co.id wrote:
AFAIK, there's none. The developers adding language features by directly
modifying the code. Even there's a bounty for it. See:
http://wiki.lazarus.freepascal.org/Bounties#FPC_grammar
I contacted the person that
Am Donnerstag, den 15.10.2009, 23:58 -0700 schrieb leledumbo:
is a complete grammar for fpc written in some variant of BNF available
somewhere?
I searched the website and the wiki, to no avail.
AFAIK, there's none. The developers adding language features by directly
modifying the
2009/10/15 Marc Santhoff m.santh...@web.de:
is a complete grammar for fpc written in some variant of BNF available
somewhere?
About 2 weeks ago, I had no clue what BNF was. Funny that you mention
it, because I am working on a LaTeX converter to IPF. I was google'ing
for a BNF for LaTeX, as a
Am Freitag, den 16.10.2009, 22:50 +0200 schrieb Graeme Geldenhuys:
2009/10/15 Marc Santhoff m.santh...@web.de:
is a complete grammar for fpc written in some variant of BNF available
somewhere?
About 2 weeks ago, I had no clue what BNF was. Funny that you mention
it, because I am working
Marc Santhoff wrote:
Am Freitag, den 16.10.2009, 22:50 +0200 schrieb Graeme Geldenhuys:
2009/10/15 Marc Santhoff m.santh...@web.de:
is a complete grammar for fpc written in some variant of BNF available
somewhere?
...
If you have fun fiddling with those tools some good starting points
Hi everyone,
is a complete grammar for fpc written in some variant of BNF available
somewhere?
I searched the website and the wiki, to no avail.
TIA,
Marc
--
Marc Santhoff m.santh...@web.de
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
20 matches
Mail list logo