Measures Concepts
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 15Years 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 · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout