[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: What scripting language to use
- From: Carl Michaels <carlm@...>
- Date: Sat, 20 Sep 2003 16:48:30 -0600 (MDT)
Hello,
I am starting a project and just wondering which scripting language I
should use. Here's a list of things that I would like to have
- Ability to be used with a C++ engine
- Ease of copying a C++ class to a scripting class/object (ie I have a
class that define the characteristics of a NPC, I want to easily be able
to copy this class (at least its members) into the script, something like
script object A = C Class Demon)
- Ability to stop a script at any time (ie after so many steps, or after a
certain amount of time)
- Ability to split a script up into many smaller scripts (similar to the
#include for c++)
- Any other nice features :)
I've looked at Lua and it seems to do many of the above requirements.
Coroutines look like a solution but not exactly what I want. I think I
also read somewhere about having multiple threads and stopping that
(perhaps someone can give me a simple example).
If lua cannot do all of the above, then perhaps someone knows a scripting
language that can like Perl or Scheme. Any insights is greatly
appreciated.
Thanks,
Carl