[Encore] moo code parser
Daniel Jung
jung at uib.no
Fri Jul 31 10:07:47 MDT 2009
Darius Jack wrote:
> I mean Xpress specific commands, part of MOO programming language.
Xpress is not a language, neither is is a collection of commands. Xpress
is the GUI (graphical User Interface) which applies to the enCore
database. It has no commands. The enCore database consists of objects,
which in turn have properties and verbs. Some of these verbs are
commands (to be typed by a user in the command line/chat environment).
> @URL verb has been edited only once in a long time.
From 2.1.1 to 3, and then from 4.0.1 to 5.
> I modified some code back to
> player.location:announce_all(" <", url, " >.");
>
> Is the above Xpress syntax covered by LambdaMOO MOO Programming by Pavel ?
As Xpress is not a language, there is no specific syntax. The lines are
MOO code, following MOO syntax. The example is taken from the enCore
database, so the line per se is not covered in the Manual. The
:announce* procedures may be covered, I don't know, please have a look
by yourself. The action of passing a string from one verb to another,
is, as well as string handling is.
Just a note: In order to write readable code and be on the safe side in
argument numbers, I strongly recommend to concatenate strings first, e.g.:
ann = tostr(" <", url, ">.");
player.location:announce_all(ann);
> Please let me know if copyrighted code of verbs is in public domain
> like Linux and can or can not be
> freely edited, published,
enCore [Xpress] is GPL. You may edit anything, use it, pass it on. You
MUST keep copyright notices and you MUST indicate your own changes. You
may certainly discuss everything you want to since this is open source
software. Discussing it is most welcome.
Good luck
- Daniel
More information about the Encore
mailing list