leftibot e1e0cc96a7 Fix #17: Add const local variable support to ChaiScript
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>
2026-04-09 23:00:17 -06:00
..
chaiscript_algebraic.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_common.hpp Fix #17: Add const local variable support to ChaiScript 2026-04-09 23:00:17 -06:00
chaiscript_engine.hpp Added virtual destructor for ChaiScript_Basic 2021-07-28 09:04:38 -05:00
chaiscript_eval.hpp Fix #17: Add const local variable support to ChaiScript 2026-04-09 23:00:17 -06:00
chaiscript_optimizer.hpp Fix #17: Add const local variable support to ChaiScript 2026-04-09 23:00:17 -06:00
chaiscript_parser.hpp Fix #17: Add const local variable support to ChaiScript 2026-04-09 23:00:17 -06:00
chaiscript_posix.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_prelude_docs.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_prelude.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_tracer.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_unknown.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00
chaiscript_windows.hpp change .clang-format and reformat code with clang-format 11 2021-05-24 10:44:15 +02:00