Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Re: [MUD-Dev] Properties of computer languages
On Wed, 16 Jun 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.
For a practical minimum, I suggest:
- conditionals
- indefinite iteration, with a way to jump out of the loop when necessary
- variables (numeric and string)
- assignment
- mathematical operators
- basic string operators
- input
- output
Things that are very nice to have:
- functions
- recursion
- multiple iterators
- "else" on if-then
- switch statements
Of course, for a special-purpose language, you may not need some things --
e.g., some programs don't need strings.
--
|\ _,,,---,,_ Travis S. Casey <efindel#io,com>
ZZzz /,`.-'`' -. ;-;;,_ No one agrees with me. Not even me.
|,4- ) )-,_..;\ ( `'-'
'---''(_/--' `-'\_)
_______________________________________________
MUD-Dev maillist - MUD-Dev#kanga,nu
http://www.kanga.nu/lists/listinfo/mud-dev
- Thread context:
- [MUD-Dev] 3D Anarchy,
Adam Wiggins adam#angel,com, Thu 17 Jun 1999, 15:37 GMT
- [MUD-Dev] Properties of computer languages,
Caliban Tiresias Darklock caliban#darklock,com, Thu 17 Jun 1999, 08:19 GMT
- Re: [MUD-Dev] Properties of computer languages,
Jon Leonard jleonard#frost,slimy.com, Thu 17 Jun 1999, 15:38 GMT
- Re: [MUD-Dev] Properties of computer languages,
Mark Gritter mark#erdos,Stanford.EDU, Thu 17 Jun 1999, 15:39 GMT
- Re: [MUD-Dev] Properties of computer languages,
Travis S. Casey efindel#io,com, Thu 17 Jun 1999, 16:24 GMT
- Re: [MUD-Dev] Properties of computer languages,
Hans-Henrik Staerfeldt hhs#cbs,dtu.dk, Thu 17 Jun 1999, 21:48 GMT
- Re: [MUD-Dev] Properties of computer languages,
Mik Clarke mikclrk#ibm,net, Fri 18 Jun 1999, 20:43 GMT
[ Other Periods
| Other mailing lists
| Search
]