Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

chaiscript

chaiscript - Programming language

< >

chaiscript is a programming language created in 2009.

#621on PLDB 14Years Old 3.5kUsers
0Books 0Papers

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
clos.html · chaiscript.html · fml.html

View source

- Build the next great programming language · Search · Day 213 · About · Blog · Acknowledgements · Traffic · Traffic Today · GitHub · feedback@pldb.com