[MUD-Dev] Storing tokens with flex & bison
enfors at swipnet.se
Sat Jan 1 21:01:11 New Zealand Daylight Time 2000
On Sat, 1 Jan 2000, J C Lawrence wrote:
> On Fri, 31 Dec 1999 02:13:07 +0100 (CET)
> Christer Enfors <enfors at swipnet.se> wrote:
> > I want to write a MUD server, and for this I want to develop a
> > LPC-like interpreting programming (or call it scripting if you
> > like) language with flex and bison.
> I would strongly suggest having a look at ANTLR (used to be PCCTS).
> (You can find links to ANTLR and other bits in the Library at
> Kanga.Nu) At one time there was a fair bit of discussion here on
> PCCTS with Jeff Kesselman from the Ten Network. Flex and Bison are
> good tools, its just that there are better ones available. ANTLR is
> not the only other alternative
I have no idea what ANTLR is, but I'll take a look. Thanks.
> > Maybe someone could point me to a lex & yacc tutorial that
> > includes writing an interpreted language that allowes user defined
> > functions written in that language, since that is basically what
> > I'm trying to do myself.
> Frankly, just buy the O'Reilly book. Now. It will save you untold
I already did, but as far as I can tell, it doesn't explain how to do this
sort of thing.
> You may also like to read the Crenshaw compiler tutorial at:
Cool, I'll take a look. Thanks!
-=-=- Christer Enfors -=-=-
"I do my music in pure machine code using an assembler."
- Rob Hubbard
MUD-Dev maillist - MUD-Dev at kanga.nu
More information about the MUD-Dev