ChaiScript is the first and only scripting language designed from the ground up with C++ compatibility in mind. It is an ECMAScript-inspired, embedded functional-like language.
ChaiScript is licensed under the BSD license.
ChaiScript is the first and only scripting language designed from the ground up with C++ compatibility in mind. It is an ECMAScript-inspired, embedded functional-like language.
ChaiScript is licensed under the BSD license.
The following are natively supported types in ChaiScript:
| Type | Example |
|---|---|
| int | 10 |
| double | 1.2 |
| bool | true |
| string | "hello" |
| char | 'b' |
| Vector | [1, 2] and [1..10] |
| Map | ["key":100] |
All C++ types are support (value, reference, and pointer types included). Additionally, values of boost::shared_ptr are also supported.