Greg Schmidt (Gschmidt2)
New member Username: Gschmidt2
Post Number: 45 Registered: 1-2007
| | Posted on Sunday, December 23, 2007 - 10:43 pm: | |
I decided to read the "Desired Features" topic again to gain a renewed sense of what's there. After reading through much of this, I have come away with the following impressions/conclusions: 1 - It would take many man-years of effort to address all of these issues in total. I just don't think it's feasible. The most one could hope for (assuming Zillions were to be "supported") would be to mine a handful of common themes such as math support. BTW, there's much more to it than "just adding math". In addition to adding math, a whole slew of game specific variables would now have to be exposed in order for the math to be useful and act upon something. So saying "just add math" is a huge oversimplification. 2 - I see a lot of people trying to push their own pet zrf language extension roughly of the form (do-this-specific-action to-this-thing) or (ask-this-specific-question of-this-thing). I'd like to discuss #2 a bit. I am convinced that this is not the way to go. Adding more commands to a language just makes it heavier and more complex. Also, these specific extensions will typically only meet a subset of needs. Someone else will always look at it and say something like "I want to do roughly that, but I also need it to do this other thing too". I believe the way around this problem is for the language to provide the following: - A general purpose implementation. What I mean by that is that if you're going to base things off of Lisp, then make it a complete Lisp with all of the general purpose features one expects with that. This requires a rich set of game specific information to act upon (see next item). - Provide a rich set of game specific primitives. Allow practically any piece of information that is calculated during the game to be accessable as a variable. Offer low level control to the game progammer. For example, allow the game programmer to ask for the current turn number and to advance the turn number. - Provide a way to combine these elements. zrf offers "define" which is very powerful. The notion of true functions (subroutines) should be included as well. If the basics are provided, then game programmers can build practically anything on top of that. Rather than try to anticipate what game programmers will build, just give them the tools to build it. If it turns out that someone hits on something that's generally useful, they can easily put it in a library (ie. include file in this case) and share it with everyone else. Just some thoughts I had to get out... -- Greg |