Questions Columns Rows
GitHub icon

chaiscript

chaiscript - Programming language

< >

chaiscript is a programming language created in 2009.

Source code:
git clone https://github.com/ChaiScript/ChaiScript
#574on PLDB 14Years Old

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 Token Example
Integers
Floats
Hexadecimals

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Stats · Sponsor · Traffic · Traffic Today · Day 277 · feedback@pldb.com · Logout