BNF grammar for D?
Russel Winder
russel at winder.org.uk
Fri Oct 12 08:16:10 PDT 2012
On Fri, 2012-10-12 at 16:59 +0200, Paulo Pinto wrote:
[…]
>
> My grammar knowledge is a bit rusty, but isn't EBNF only possible
> for LR(K) languages?
Mentioning EBNF turns out to be a red herring. Indeed mention of BNF is
a red herring also. What is actually needed is a Wisent grammar file.
Wisent is Bison. Bison is YACC. So we are looking for an LALR(1)
grammar.
> Is is possible for D?
Pass.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121012/ab839811/attachment.pgp>
More information about the Digitalmars-d
mailing list