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 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 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.
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>
Recent comments
2 days 12 hours ago
2 days 12 hours ago
3 days 8 hours ago
1 week 1 day ago
1 week 1 day ago
2 weeks 23 hours ago
9 weeks 3 days ago
13 weeks 4 days ago
16 weeks 2 days ago
16 weeks 4 days ago