[DGD] DGD

Felix A. Croes felix at dworkin.nl
Sat Apr 13 23:47:02 CEST 2013


Blain <blain20 at gmail.com> wrote:

> It's good to see you're still advancing and supporting the DGD server after
> all these years!  Did your own mudlib ever turn out?  (I'm still working
> through the archives, but I'm only up to mid-'01 now and you were working
> on it then I think.). If we're still in need of a good startup mudlib, I'd
> be happy to strip mine down once I get it running and tested.  It could
> have a basic System setup with some commands, interfaces, and handlers to
> get someone started.

I never completed it, and I am now in the process of converting it to
non-mud use.


>[...]
> I have two quick questions regarding parse_string():
>
> 1] Does the order of the rules in the grammar affect the optimization or
> not?

It does not.


> 2] How can I extract a comma that is right behind a 'word' to become it's
> own token?  Since a 'word' doesn't' include the comma, does it then become
> a free-floating token that I can grab by using it literally in rules?  For
> example, "fat, hairy" <=> token = word ',' word ?

As long as the token matching "fat" does not also match "fat," the comma
will become its own token.

Regards,
Felix Croes



More information about the DGD mailing list