March 2004
- Quick question SSL Mats Lidstrom
- Player Justice (was: Character Restraint & Capture (bounty hunting)) Damion Schubert
- Player Justice Paul Schwanz
- Player Justice Damion Schubert
- Player Justice Freeman, Jeff
- Player Justice Koster, Raph
- Player Justice Michael Sellers
- Player Justice Koster, Raph
- Player Justice Matt Mihaly
- Player Justice Freeman, Jeff
- Player Justice Paul Schwanz
- Quick question SSL...solution? ceo
- The Economic Model - as a Game Matt Chatterley
- The Economic Model - as a Game j0hn@mistydale.com
- Parser engines Brian Hook
- Parser engines Hans-Henrik Staerfeldt
- Parser engines Malcolm W. Tester II
- Parser engines Mike Rozak
- Parser engines Miroslav Silovic
- Parser engines Mike Rozak
- Parser engines Artur Biesiadowski
- Parser engines Jason Slaughter
- Parser engines Mike Rozak
- Parser engines Travis Casey
- Parser engines Nathan Yospe
- Parser engines ext.Christer.Enfors@tietoenator.com
- Parser engines Sean Middleditch
- Parser engines T. Alexander Popiel
- Parser engines Lars Duening
- Parser engines Brian Hook
- Parser engines Helps Family
- Parser engines Travis Casey
- Parser engines Robert Zubek
- Parser engines Brian Hook
FWIW, I revamped things considerably once I realized I was hitting a
limit by trying to decompose ALL sentences into V NP [[PP] NP].
Several obvious examples where this fails:
> say hello everyone
You say, "Hello everyone"
> avarian, say destro mestro klagaro
Avarian says, "destro mestro klagaro"
> tell oz Dude, I think this is broken
You tell oz, "Dude, I think this is broken"
> sudo create item 9212
You create a bronze spear
With sufficient special casing it can still be handled, but I
decided that going to a system more IF-like was the best idea. Of
course, I had to figure this out the hard way by iteratively coming
up with different approaches, until I finally started defining verbs
in terms of grammars, and voila, I was back to an Inform/Hugo/TADS
grammar system.
Now my parser flow kind of works like this:
-- Get actor for sentences like "dave, shoot the orc"
actor = parse_actor( line )
if actor == nil
actor = client
end
-- Get the verb
verb = parse_verb( line )
verb( actor, line )
Each verb function then calls appropriate helper routines in order
to validate the incoming syntax, grab noun phrases (with or without
constraints), resolve/disambiguate, and then dispatches accordingly.
I didn't define a separate grammar altogether a la Hugo/Inform/TADs,
but that's mostly laziness on my part.
So far it works really well. The bulk of verbs decompose into the
canonical form and thus have very similar snippets of code (which is
one reason a grammar driven version would probably be better in the
long run).
Brian
www.bookofhook.com
- Meet & Greet IV Anthony R. Haslage
- N00b question Matthew Turland
- N00b question Peter Harkins
- [good] N00b question Manuel Lanctot
- Player Justice Brian 'Psychochild' Green
- Player Justice John Buehler
- Player Justice Damion Schubert
- Player Justice Jester
- Player Justice Baar - Lord of the Seven Suns
- Player Justice cruise
- Player Justice Jeff Fuller
- Player Justice Travis Nixon
- Player Justice Tom "cro" Gordon
- Player Justice John Buehler
- Player Justice Eric Random
- Player Justice Matt Mihaly
- Player Justice Brian 'Psychochild' Green
- [good] Parser engines Manuel Lanctot
- [good] Parser engines Travis Casey
- [good] Parser engines Mike Rozak
- Character Restraint and Griefing mark
- Cultural impact on Muds Ola Fosheim Grøstad
- 2d mapping in SQL Matt Chatterley
- 2d mapping in SQL szii@sziisoft.com
- 2d mapping in SQL Byron Ellacott
- 2d mapping in SQL Matt Chatterley
- 2d mapping in SQL Byron Ellacott
- 2d mapping in SQL Matt Chatterley
- 2d mapping in SQL Ola Fosheim Grøstad
- Why significant rewards for quests are a bad thing Ola Fosheim Grøstad
- Why significant rewards for quests are a bad thing Brian Miller
- Character Restraint & Capture. (long) Jester
- MUD/MMO Service Tools Jim Purbrick
- [Biz] Bots Open Door to Gaming History Michael Tresca
- [Announcement] Mesh Project Jon A. Lambert
- Sun's Sim Server and Gordon's 10 Reasons (the first one :)) ceo
- DGN NEWS: Master's thesis on quest systems for MMORPGs William Saar
- DGN NEWS: Master's thesis on quest systems for MMORPGs Douglas Goodall