Understanding the Stunt database format (v12)

9 views
Skip to first unread message

d. kajsh

unread,
May 17, 2012, 7:37:38 AM5/17/12
to MOO-...@googlegroups.com
I'm trying to write a simple parser for the Stunt database format, but am having trouble figuring out a few things about the format. I haven't looked very closely at the server source and db_*.c files yet, so I'm guessing a bit.
Going from the "Anatomy of a LambdaMOO db file" for v4 databases, I suppose only the parts describing the object (between the # and the verb declarations) have changed.
Here is my (somewhat failed) attempt to make sense of a v12 minimal.db, any help is appreciated: http://pastebin.com/ytaJ3yGa
Maybe Todd or someone else could write up a short "Anatomy of a LambdaMOO db file"-style documentation (or modify the version for db v4) and put it on the GitHub wiki of the stunt repo?

Todd Sundsted

unread,
May 17, 2012, 4:16:30 PM5/17/12
to MOO Talk
While I didn't gratuitously change things, I did remove most/all non-
functional items that were left in v4 for "backward compatibility"
with earlier versions. I'm reasonably sure that included changes to
the prelude (before the objects), as well as the objects themselves.
The task info also changed. I'm writing from memory, because I can't
check my code right now.

Todd
Reply all
Reply to author
Forward
0 new messages