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 f
You may try Lua quite often used with C++ in games industry. It has a small memory footprint and is quite mature, has a great library... just give it a try.
hm... I do not understand what you want to achieve: do you want to find a scripting language that will somehow, magically be converted into c++ source? Or what you really want is just an option to create an executable from the script? If the latter - then you may try py2Exe.
pawn
pawn is a simple, typeless, 32-bit extension language with a C-like syntax. A pawn "source" program is compiled to a binary file for optimal execution speed. The pawn compiler outputs P-code (or bytecode) that subsequently runs on an abstract machine. Execution speed, stability, simplicity and a small footprint were essential design criteria for both the language and the abstract machine.
This language is very simular to c syntax, so anyone that has done any c++,c,c#,java will be able to read it and its simplyfied so none coders can read it to. This language is currently used all around, among other places scripting against halflife 1 and halflife2 servers.
There is a new package Chaiscript which is designed for C++. It's relatively new and not completely stable yet.
Anybody interested in a scripting language that is (mostly) very similar to C++, may want to take a look at angelscript (ZLIB):
The AngelCode Scripting Library, or AngelScript as it is also known, is an extremely flexible cross-platform scripting library designed to allow applications to extend their functionality through external scripts. It has been designed from the beginning to be an easy to use component, both for the application programmer and the script writer.
Efforts have been made to let it call standard C functions and C++ methods with no need for proxy functions. The application simply registers the functions, objects, and methods that the scripts should be able to work with and nothing more has to be done with your code. The same functions used by the application internally can also be used by the scripting engine, which eliminates the need to duplicate functionality.
For the script writer the scripting language follows the widely known syntax of C/C++ (with minor changes), but without the need to worry about pointers and memory leaks. Contrary to most scripting languages, AngelScript uses the common C/C++ datatypes for more efficient communication with the host application.
For more info, check out: http://www.angelcode.com/angelscript/sdk/docs/manual/index.html
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.
I'm not sure I understand your question but if your looking to implement your own scripting language which could interface with your c++ code you can take a look at boost::spirit. You just have to tell it your grammar and you have your scripting language doing whatever you tell it to in c++. You specify your grammar using c++ operators making it very easy and intuitive.
That's what I currently used for my recent needs and it looks like it will do the job just fine. You have full access to your c++ objects when specifying your grammar and your user can have a very simple language to learn (compared to CINT where the language would be c++ itself).
Compile time are a little slow right now but if you don't need to implement a very complex language it should be manageable (I wouldn't like to see the compile time for something like c++). Also documentation is a little lacking for the newest version (and the most up-to-date version is a little hard to find) but it's relatively easy to use so it might be worth a check, depending on your needs.