Search
   
 
Cars
Car Manufacturers
Awards
Car Body Styles
Famous Cars
Classic Cars
Car Designers
Car Platforms
Technologies
Auto Shows
History of Cars
  The Beginnings of
Ford Motor Company

...It cost USD28,000 MORE»


History of the BMW 3 Series
Success breeds success MORE»


Internal Combustion Engine
What drives it? MORE»


Is Your Car Safe Enough?

Find out MORE»

Why buy a Hybrid Car?
Advantages and Perks MORE»

Message Parsing Interpreter

The Message Parsing Interpreter (MPI for short, not to be confused with the Message Passing Interface) is a Lisp-like programming language based on text replacement that is used on Fuzzball MUCK servers, starting with version 2.2fb5.00. It is generally considered easier to learn and use than MUF, and enjoys a large popularity among Fuzzball MUCK users.

When online, the command MPI CATEGORY provides a listing of the available MPI topics arranged by function. The most common use for MPI is for report generation and formating text strings, however it does support the creation of macros, conditional logic, and looping for a limited number of iterations.

Command Structure

MPI could be viewed as a form of markup language as instructions are encapsulated within bracket marks to differentiate them from regular text. The MPI command is specified first, followed by a colon, and then command arguments, separated by commas. If one of the arguments is a string that contains a comma, it is escaped by using a backslash or the {lit:} (for literal) command.

{ command : argument1, argument2 }

Commands can be nested, taking the place of one or more arguments within the parent command to form more complex code:

{tell: {name:me} just looked at {name:this}., {owner:this}}

Hello World

The standard "Hello World" program would look like this:

{tell:Hello World, me}

External links

01-04-2007 01:32:10
The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. How to see transparent copy