[MUD-Dev] Properties of computer languages
Mik Clarke
mikclrk at ibm.net
Fri Jun 18 21:47:00 CEST 1999
Caliban Tiresias Darklock wrote:
> I'm in the process of redesigning the macro language of my game, and I
> recall seeing at one time a list... a very short list... of things that a
> computer language absolutely required. Sort of a bare-bones "what you need
> to do everything you need to do in any given program". Two of the things on
> the list were conditionals (if/then/else) and iteration (for/next and
> do/while). There were either two or three other things listed, but I don't
> remember what they were. Does anyone here have a memory spark going off as
> to what list I'm talking about and where I can find it? I think one of the
> other things was something along the lines of subroutine/function declaration.
Hmmm. depends on how friendly you want it to be: ;) ;) ;)
Execute instruction and update program counter
Label
If...goto
Arithmetic and some sort of comparison operators
Variables are sort of nice, although you can work without them
Push/pop program counter if you want gosub (can also be used for
computed goto if stack is accesible for arithmetic)
Mik
_______________________________________________
MUD-Dev maillist - MUD-Dev at kanga.nu
http://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list