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

chaiscript

< >

chaiscript is a programming language created in 2009.

#393on 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 ✓

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0