Re: syntax definition language

2011-10-28 Thread bcs
On 10/23/2011 04:58 AM, Gor Gyolchanyan wrote: Hi, guys! Can anyone tell me what's the name of this syntax definition language, used here: http://www.d-programming-language.org/lex.htm ? You might find this interesting: http://dsource.org/projects/scrapple/browser/trunk/dparser It's way out o

Re: syntax definition language

2011-10-23 Thread Martin Nowak
On Sun, 23 Oct 2011 23:27:12 +0200, Timon Gehr wrote: On 10/23/2011 07:19 PM, Martin Nowak wrote: On Sun, 23 Oct 2011 15:10:08 +0200, Gor Gyolchanyan wrote: Anyway, I'm writing a general-purpose parser base, so i won't need it for now. And when i do, I'd like to have a correct grammar defin

Re: syntax definition language

2011-10-23 Thread Timon Gehr
On 10/23/2011 07:19 PM, Martin Nowak wrote: On Sun, 23 Oct 2011 15:10:08 +0200, Gor Gyolchanyan wrote: Anyway, I'm writing a general-purpose parser base, so i won't need it for now. And when i do, I'd like to have a correct grammar definition, so i can feed it to my parser. Who should i ask to

Re: syntax definition language

2011-10-23 Thread Martin Nowak
On Sun, 23 Oct 2011 15:10:08 +0200, Gor Gyolchanyan wrote: Anyway, I'm writing a general-purpose parser base, so i won't need it for now. And when i do, I'd like to have a correct grammar definition, so i can feed it to my parser. Who should i ask to ensure it's correctness? Once I'm done,

Re: syntax definition language

2011-10-23 Thread simendsjo
On 23.10.2011 15:10, Gor Gyolchanyan wrote: Anyway, I'm writing a general-purpose parser base, so i won't need it for now. And when i do, I'd like to have a correct grammar definition, so i can feed it to my parser. Who should i ask to ensure it's correctness? Do you know about Goldie? http://

Re: syntax definition language

2011-10-23 Thread Gor Gyolchanyan
Anyway, I'm writing a general-purpose parser base, so i won't need it for now. And when i do, I'd like to have a correct grammar definition, so i can feed it to my parser. Who should i ask to ensure it's correctness? Once I'm done, I'll send a pull request for something around "etc.dcfe" for "D co

Re: syntax definition language

2011-10-23 Thread Timon Gehr
On 10/23/2011 02:16 PM, Gor Gyolchanyan wrote: Yeah, i know about EBNF, but it uses completely different syntax. I'm really excited about having a standard D compiler front-end as a library solution, so i though it would be best to parse the syntax from the syntax definition of dpl.org That ca

Re: syntax definition language

2011-10-23 Thread Gor Gyolchanyan
Yeah, i know about EBNF, but it uses completely different syntax. I'm really excited about having a standard D compiler front-end as a library solution, so i though it would be best to parse the syntax from the syntax definition of dpl.org On Sun, Oct 23, 2011 at 4:05 PM, Alex Rønne Petersen wrot

Re: syntax definition language

2011-10-23 Thread Alex Rønne Petersen
On 23-10-2011 13:58, Gor Gyolchanyan wrote: Hi, guys! Can anyone tell me what's the name of this syntax definition language, used here: http://www.d-programming-language.org/lex.htm ? A variant of EBNF (Extended Backus-Naur Form), I suppose. - Alex

Re: syntax definition language

2011-10-23 Thread Jonathan M Davis
On Sunday, October 23, 2011 15:58:36 Gor Gyolchanyan wrote: > Hi, guys! > Can anyone tell me what's the name of this syntax definition language, > used here: http://www.d-programming-language.org/lex.htm ? It looks to me like it's using a variant of BNF just like pretty much every other language