Is there a scripting language for C++ (like perl) which can be used for rapid development and use some tool which can convert into C/C++ program to get higher performance for deployment?
EDIT:
Based on some commented, let me clarify the question. I should be able to convert script into C/C++ program or binary without modifying my script.
You could code using D programming language as both a script or a fast compiled output.
here is an article that talks in detail about D and its advantages "The Case for D"
With a C/C++ interpreter you can use C/C++ as a scripting language
Ch: http://www.softintegration.com/
Commmercial C/C++ interpreter with a free Standard Edition. Has support for various popular libraries and windowing toolkits.
CINT: http://root.cern.ch/drupal/content/cint
Actively developed open-source (MIT license) C/C++ interpreter. Developed as part of the ROOT environment at the CERN. Used by many physicist.
ccons: http://code.google.com/p/ccons/
An interactive C console which employs LLVM and its new C frontend (clang). Under active development
UnderC: http://home.mweb.co.za/sd/sdonovan/underc.html
An open-source (LGPL) C++ interpreter. Seems to be a bit dated (2002).
Note: So far, I have tried only Ch and CINT. I have added ccons and UnderC to make the list more complete.
For Python, I sometimes find psyco useful. Not sure if there is any equivalent for perl though.
When choosing a language for a task, I find it more useful to choose the language most suited for the job. If the job asks for more performance than a scripting language can provide under normal conditions, it is usually better to just switch than to bend over backwards to try to make your code fast.
GML : www.yoyogames.com
Anybody interested in a scripting language that is (mostly) very similar to C++, may want to take a look at angelscript (ZLIB):
For more info, check out: http://www.angelcode.com/angelscript/sdk/docs/manual/index.html
There is a new package Chaiscript which is designed for C++. It's relatively new and not completely stable yet.