mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-07-31 08:46:30 +08:00
Adds `const var`, `const auto`, and `const` as variable declaration syntax that creates immutable local variables. A const_override flag on Boxed_Value enables script-level constness without changing the C++ type system integration. The parser, optimizer, and evaluator are extended with Const_Var_Decl and Const_Assign_Decl AST nodes that mirror their non-const counterparts but mark the value as const after initialization. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| dispatchkit | ||
| language | ||
| utility | ||
| chaiscript_basic.hpp | ||
| chaiscript_defines.hpp | ||
| chaiscript_stdlib.hpp | ||
| chaiscript_threading.hpp | ||
| chaiscript.hpp | ||