[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

12217: Re: [MUD-Dev] Storing tokens with flex & bison

[Full Header] [Plain Text]
From: J C Lawrence <claw@kanga.nu>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 18 Jan 2000 00:55:30 -0800
References: [1]
Organization: Kanga.Nu
On Sun, 2 Jan 2000 20:13:24 -0500 
Jon A Lambert <jlsysinc@ix.netcom.com> wrote:

> Also, you might want to take a look at the Interlude server.  I
> think Chris has a copy on ftp.kanga.nu.  Interlude uses lex as a
> scanner but implements an RD parser by hand.

Yup.  Interluds does a bunch of rather intersting bits design-wise.

> Yes. :-) BTW, writing scanners and recusive descent parsers is
> easy.  Definitely read the Crenshaw tutorial.  The CoolMUD VM is a
> simple and well-written example of a VM.

Its worth noting the massive differences between COOLMUD and
LambdaMOO and before that MOO (Stephen White wrote all of them
(Pavel Curtis taking over LambdaMOO fairly eary on when Stephen
moved on to COOL)) that clearly show the lessons he learned en route
(oughta catalog them for posterity some time).  I'm actually rather
intersted in digging thru his recent Java based server just to see
what basic design changes he's made now...

> At some po Like JC Lawrence and Chris Gray I've written my own
> scanners and recursive descent parsers.  Personally, I'm a bit
> anal about not using globals, having readable and debugable code.

Join the club.  I'm digging thru some inherited C++ at work that is
extremely well written, beatufiully executed, reasonably well
commented, very cleanly designed, and almost utterly obtuse.

I've spent days trying to figure out what a couple classes do.

No thanks.

> Yacc and Bison generate extremely ugly code.

<kof>  Really?  <kof>

--
J C Lawrence                                 Home: claw@kanga.nu
----------(*)                              Other: coder@kanga.nu
--=| A man is as sane as he is dangerous to his environment |=--


_______________________________________________
MUD-Dev maillist  -  MUD-Dev@kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev