C++ like Script language

Started by
15 comments, last by GameDev.net 17 years, 1 month ago
Quote:Original post by smr
Angelscript. Strongly typed and quite C++ like.


seconded.
Advertisement
Or you could use C#..

DirectX SDK\Samples\Managed\Direct3D\Scripting

Scripts are written in C#, engine in C++.. Compiles to machine code on execution so you get speed..


Also, Angelscript is still under development, and inheritance has high priority..
Angelscript is the single best choice for your wants.
If you want to use 'something like C++' as a script language, why don't you use C++ itself?

Your script compiler will be your trusty dusty C++ compiler.
BTW, there is accutually some C++ interpreter which you might be able to use..
Might I suggest GameMonkey Script.

From the site:
  • Small code base. Compiled code may use about 50kb of RAM. Less when tweaking or sharing with application.
  • Compile source code at run time, or link to precompiled libs.
  • Lightweight, native threading.
  • Soft real-time incremental garbage collection. Controllable memory footprint.
  • No painful reference counting.
  • Easy to bind C\C++ functions and call script from C\C++.
  • Runtime debugging and reflexion support.
  • C style syntax.
  • Competitive performance when compared to other scripting languages for both CPU and Memory usage. Speed is a trade off for flexibility and simplicity.
  • Easily modifiable as it is written in C++ and uses Flex and Bison.
How about Boo:

http://boo.codehaus.org/

This topic is closed to new replies.

Advertisement