# ChaiScript/ChaiScript

Embedded Scripting Language Designed for C++

Repository: https://github.com/ChaiScript/ChaiScript
Canonical: https://ross.abutalabs.com/products/chaiscript
Homepage: http://chaiscript.com
Language: C++
License: NOASSERTION
License Family: other
Topics: c-plus-plus, embedded-scripting-language, cpp, language
Last push: 2026-05-02T20:53:44+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 50, longevity 100
- inputs: {"age_days": 5718, "days_push": 123, "days_rel": 123, "gap_med": null, "n_releases_24m": 1}
- flags: prerelease_only, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3124, forks 365 (observed 2026-08-28T04:07:44.348160+00:00)

## What it is
ChaiScript is a header-only embedded scripting language designed from the ground up for seamless integration with modern C++ applications. It provides type-safe bidirectional calls between C++ and scripts, supporting callbacks, overloaded functions, class methods, and STL containers.

## Use cases
- embed a scripting language in a C++ application
- let users extend my C++ program with scripts
- call C++ functions from a script type-safely
- expose C++ classes and STL containers to scripts
- add a header-only scripting engine without external dependencies

## When to choose
- you need an easy-to-integrate, header-only scripting layer for a C++17 codebase
- type safety between C++ and scripts matters
- you want thread-safe scripting with no preprocessor or external tools

## When to avoid
- you need a general-purpose standalone scripting language like Python or Lua
- your project targets compilers older than C++14/17
- you need a scripting language with a large ecosystem of libraries

## Facets
- artifact type: library
- maturity: maintenance
- function: interpreter, programming-language
- domain: programming-languages, developer-tools
- platform: cpp, cross-platform
- tags: embedded-scripting, header-only, scripting-language, type-safe

## Member repositories
- ChaiScript/ChaiScript (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:44.348160+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:26:23.930218+00:00, confidence not recorded.
  - readme: https://github.com/ChaiScript/ChaiScript (fetched 2026-08-28T04:07:44.348160+00:00, sha 9d95f25e1278)
  - homepage: http://chaiscript.com (fetched 2026-08-29T09:41:21.205882+00:00, sha 648a91915be8)
  - site_page: http://chaiscript.com/docs.html (fetched 2026-08-29T09:41:21.215180+00:00, sha 8be86d04bfa9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
