MUF Programming: Introduction

Welcome to MUCK University's book on MUF Programming!

This "book" is presented as an online resource for anyone wanting to learn the MUF programming language. While I intend it to be accessible to all audiences, I do assume that you have a basic familiarity with mucks, particularly GlowMUCK and FuzzBall mucks. An understanding of the types of muck database items and how database item properties, while not required, will accelerate your learning process. Don't worry if you don't know what any of that means--by the time you complete the material, you will.

This book is written using Drupal's "Book Content" format. You'll find navigating the book easy. At the bottom of each section/webpage, there will be a list of links to the subsections of the current section if you wish to jump to a particular section. In addition to that, there will be two links at the very bottom. On the left will be a link to the previous section and on the right there will be a link to the next section if you wish to simply go through the sections in order.

Things you type into the computer will be printed in a different font, like this: say I'm new to MUF. MUF programs will either be printed in that same font or they will be syntax highlighted like this:

  1. : main
  2.   "me" match "Hello World" ansi_notify
  3. ;

Note that the 1., 2., 3. are shown for our convenience--they are not part of the program.

When the text says that a program example is available under 'programname', you can list the example directly by typing @list $examples/programname on MUCK University. Usually the program will also have a command allowing you to execute the program. The command to execute the program will be given in the relevant section. The program will usually be in "debug" mode which means it will display what the program is doing in addition to its normal output.

If you're new to programming in general, I recommend that you continue on to the next section. If you have programming experience or you are in a computer-centric degree program1, the next section may not say anything you don't already know--but hopefully it says it in a new and interesting way. Be sure to go ahead and read it so you can tell me how wonderful it is...

Speaking of feedback--all of these pages have comments enabled. Feel free to add your own comments and questions.

  • 1. Such as computer science, computer information systems, etc.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3> <h4> <h5> <h6> <blockquote> <iframe>
  • Lines and paragraphs break automatically.
  • Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.
  • Use [# ...] to insert automatically numbered footnotes. Textile variant.
  • Web page addresses and e-mail addresses turn into links automatically. (Better URL filter.)
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <glow>, <muf>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options