CINT as a Scripting Option,
Members - Reputation: 122
Posted 12 May 2003 - 05:13 AM
Moderators - Reputation: 5639
Posted 14 May 2003 - 12:42 AM
Still here? Ok. Firstly, I don't know of any "C/C++ script interpreters", although I don't doubt some exist. They're unlikely to have all the features of C++ anyway. (EDIT: Since I typed this, I looked into your subject line and found CINT at http://root.cern.ch/root/Cint.html. It claims to support 85% of C++, which is impressive but not good enough in my opinion.) Secondly, glue code isn't the code that needs simplifying. 'Glue' code just holds together the different parts of the system and is usually quite trivial. It also may change quite a bit, which means a more 'agile' language like Python is probably better suited than C++. Thirdly, the scripting language element is usually there to help people other than the core programmers in extending the program, usually because scripting languages are easier to use than C++.
There may not be much need to integrate a scripting language in a simple 2D game. However you might consider writing the whole game in one, using something like PyGame, only adding C++ where necessary.
[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]
[edited by - Kylotan on May 14, 2003 9:27:50 AM]