ChaiScript

Understanding the ChaiScript clone Function

In ChaiScript variable assignments create a copy of the object being assigned.

var x = 5;
var y = x; // Make a copy of x and assign it to y

It's an interesting study in how the ChaiScript language works to dissect this ability to clone an object dynamically. The basic premise is that the function creates and executes a dynamic function call to the object's copy constructor.

ChaiDraw: Programming Toy and Chaiscript Use Case

ChaiDraw ScreenshotChaiDraw ScreenshotI have been working for the past few weeks on ChaiDraw. ChaiDraw is an application that's both meant as an educational toy and as a showcase for how to effectively use ChaiScript in your application. It turns out it's actually a fun little toy to play with. Check it out if you have an interest in programming toys or especially if you have an interest in ChaiScript.

ChaiScript Performance Updates

ChaiScript is a trivially easy to use scripting language designed for integration with C++. I have been working on it with Jon for the past several months now, and we have reached the point of doing performance optimizations and minor bug fixes.

ChaiScript: Easy C++ Scripting

Jon and I released the first release of ChaiScript earlier today. ChaiScript is designed to make it trivially easy to use scripting in your C++ application and to expose your C++ to the scripting system.

ChaiScript is a header only implementation. It requires no external libraries and is distributed under the BSD license, making it free and easy to distribute.

So, how easy is easy, really? How does 3 lines of code sound for a classic hello world example?

#include <iostream> 

Syndicate content