ChaiScript is an embedded scripting language designed for C++. You can use ChaiScript to expand the functionality of RealmJoin. Use the following script examples and the scripts in the GK Script Objects section to learn how to customize your RealMigrator.
var i; // uninitialized variable, can take any value on first assignment;var k =5; // initialized to 5 (integer)var &m = k; // reference to k
Built in Types
var i =1; // creates an integervar u =1u; // creates an unsigned integervar s ="hello"; // create a stringvar f =1.0; // creates a floatvar v = [1,2,3u,4ll,"16", `+`]; // creates vector of heterogenous valuesvar m = ["a":1,"b":2]; // map of string:value pairs