Thread overview
Any parser generators for D that are not abandoned?
Jun 02, 2009
Trass3r
Jun 02, 2009
BCS
Jun 02, 2009
Ary Borenszweig
Jun 02, 2009
BCS
Jun 03, 2009
Nick Sabalausky
Jun 03, 2009
Trass3r
June 02, 2009
Found the GOLD parser generator which seems to be quite nice:
http://www.devincook.com/goldparser/index.htm

Has anyone tried that yet?

Unfortunately it was last updated in 2007, any alternatives?

I know h3r3tic maintains an Enki fork but its grammar is rather complicated.
June 02, 2009
Reply to Trass3r,

> Found the GOLD parser generator which seems to be quite nice:
> http://www.devincook.com/goldparser/index.htm
> 
> Has anyone tried that yet?
> 
> Unfortunately it was last updated in 2007, any alternatives?
> 
> I know h3r3tic maintains an Enki fork but its grammar is rather
> complicated.
> 

dparse?

http://www.dsource.org/projects/scrapple/browser/trunk/dparser

It's not that the top of my queue right now, but I might get back to it by the time your compile finishes. <g>


June 02, 2009
BCS wrote:
> Reply to Trass3r,
> 
>> Found the GOLD parser generator which seems to be quite nice:
>> http://www.devincook.com/goldparser/index.htm
>>
>> Has anyone tried that yet?
>>
>> Unfortunately it was last updated in 2007, any alternatives?
>>
>> I know h3r3tic maintains an Enki fork but its grammar is rather
>> complicated.
>>
> 
> dparse?
> 
> http://www.dsource.org/projects/scrapple/browser/trunk/dparser
> 
> It's not that the top of my queue right now, but I might get back to it by the time your compile finishes. <g>

There's an "private import glue.templates;" in dparse.d. Where's that module? I can't see it there, neither in scrapple.
June 02, 2009
Hello Ary,

> BCS wrote:
> 
>> Reply to Trass3r,
>> 
>>> Found the GOLD parser generator which seems to be quite nice:
>>> http://www.devincook.com/goldparser/index.htm
>>> 
>>> Has anyone tried that yet?
>>> 
>>> Unfortunately it was last updated in 2007, any alternatives?
>>> 
>>> I know h3r3tic maintains an Enki fork but its grammar is rather
>>> complicated.
>>> 
>> dparse?
>> 
>> http://www.dsource.org/projects/scrapple/browser/trunk/dparser
>> 
>> It's not that the top of my queue right now, but I might get back to
>> it by the time your compile finishes. <g>
>> 
> There's an "private import glue.templates;" in dparse.d. Where's that
> module? I can't see it there, neither in scrapple.
> 

Comment it out and if that doesn't compile I'll dig it up. I known where to look for it, but it will take a bit to find it.


June 03, 2009
"Trass3r" <mrmocool@gmx.de> wrote in message news:h043vv$2sv5$1@digitalmars.com...
> Found the GOLD parser generator which seems to be quite nice: http://www.devincook.com/goldparser/index.htm
>
> Has anyone tried that yet?
>
> Unfortunately it was last updated in 2007, any alternatives?
>
> I know h3r3tic maintains an Enki fork but its grammar is rather complicated.

I'm a little unclear on what exactly you're looking for:

Gold doesn't really need much in the way of updates, it's already very solid. I use it. And although it was looking like Devin had dissapeared for a while, he's recently showed up again on the mailing list.

But if you're talking about a Gold engine written in D (ie, something
written in D that takes in a source file and parses it according to a
provided .cgt), the "stc" side project I've been working on contains an
up-to-date one for D1/Tango (in fact, that's mostly all stc is so far). I
haven't done any formal release, but you can grab the latest version I've
pulled together here (sorry, the svn for it isn't set up publically ATM):
http://www.semitwist.com/download/stc_v0.004.7z
(There's also a .zip of it in the same place if you prefer that.)
Documentation, source, tools, and Win32 binaries are included.

If you're talking about a D grammar for Gold, you're probably on your own, I'm not aware of one.


June 03, 2009
Nick Sabalausky schrieb:
> Gold doesn't really need much in the way of updates, it's already very solid. I use it. And although it was looking like Devin had dissapeared for a while, he's recently showed up again on the mailing list.
> 
Well yes, partly I also mean the builder tool. Don't want to occupy myself with a framework that has no future ;)

> But if you're talking about a Gold engine written in D (ie, something written in D that takes in a source file and parses it according to a provided .cgt), the "stc" side project I've been working on contains an up-to-date one for D1/Tango (in fact, that's mostly all stc is so far). I haven't done any formal release, but you can grab the latest version I've pulled together here (sorry, the svn for it isn't set up publically ATM):
> http://www.semitwist.com/download/stc_v0.004.7z
>
Yeah I couldn't figure out how old the engine provided at the website is and if it still works.
I haven't tested it either since I'm currently playing with Gold's grammar syntax which seems quite neat.