leftibot 5cebd2cd22 Address review: add call stack and filename to wrapped script exceptions
- Catch Boxed_Value in AST_Node_Impl::eval() and wrap in eval_error so
  call stack accumulates as the exception propagates through the AST chain
- Add eval_error constructor accepting filename + Boxed_Value
- Populate filename on wrapped eval_error in chaiscript_engine::eval()
- Extract original boxed value in Try_AST_Node for script try/catch semantics
- Unwrap boxed value in internal_eval/internal_eval_file to preserve
  script-level exception identity across nested eval() calls
- Add tests for call stack presence, filename population, and
  exception_specification backward compatibility

Requested by @lefticus in PR #682 review.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 15:14:32 -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 Address review: add call stack and filename to wrapped script exceptions 2026-04-15 15:14:32 -06:00
chaiscript_engine.hpp Address review: add call stack and filename to wrapped script exceptions 2026-04-15 15:14:32 -06:00
chaiscript_eval.hpp Address review: add call stack and filename to wrapped script exceptions 2026-04-15 15:14:32 -06:00
chaiscript_optimizer.hpp Fix #635: Segfault in async result via dangling pointer from optimized for loop (#671) 2026-04-12 16:47:06 -06:00
chaiscript_parser.hpp Fix #473: Allow assignment expressions in return statements (#665) 2026-04-11 17:13:50 -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 Fix #12: Document reflection and introspection capabilities 2026-04-09 21:43:56 -06: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