Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

chaiscript

< >

chaiscript is a programming language created in 2009.

#386on PLDB 15Years Old
Download source code:
git clone https://github.com/ChaiScript/ChaiScript
Homepage · Source Code

Embedded Scripting Language Designed for C++


Example from the web:
#include <chaiscript/chaiscript.hpp> std::string helloWorld(const std::string &t_name) { return "Hello " + t_name + "!"; } int main() { chaiscript::ChaiScript chai; chai.add(chaiscript::fun(&helloWorld), "helloWorld"); chai.eval(R"( puts(helloWorld("Bob")); )"); }

Language features

Feature Supported Example Token
Integers ✓
Floats ✓
Hexadecimals ✓
View source
- Build the next great programming language · Add · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements · Part of the World Wide Scroll