Commit Graph

  • 2c80c2a55a Fix #63: Derive eval_error from std::nested_exception and wrap thrown exceptions leftibot 2026-04-13 19:02:32 -06:00
  • ff06e1f0c7 Address review: reject non-declaration statements inside namespace blocks leftibot 2026-04-13 18:44:24 -06:00
  • 18d9794819 Address review: rename to_int to to_underlying, add switch tests leftibot 2026-04-13 18:39:11 -06:00
  • f1a5c33d9a Fix #61: Comprehensive exception test suite and fix for silently swallowed exceptions leftibot 2026-04-13 18:35:08 -06:00
  • 61cbf1cda1 Address review: add to_underlying function for strong typedefs leftibot 2026-04-13 18:18:37 -06:00
  • a1fa15c496 Address review: simplify enum implementation leftibot 2026-04-13 18:15:17 -06:00
  • ef7c338452 Fix #677: Add strong typedefs via 'using Type = BaseType' syntax leftibot 2026-04-13 18:08:10 -06:00
  • 7aaceab4e5 Address review: extract shared make_proxy_function from Def_AST_Node leftibot 2026-04-13 17:53:04 -06:00
  • 20ed7e3410 Fix #19: Add strongly-typed enum support to ChaiScript leftibot 2026-04-13 17:45:47 -06:00
  • 8f463078f3 Address review: C++-style namespace scoping and block declarations leftibot 2026-04-13 17:16:55 -06:00
  • e9fec99b24 Address review: add grammar railroad diagram link to README leftibot 2026-04-13 16:00:03 -06:00
  • dd9afc832e Address review: use :: instead of . as nested namespace separator leftibot 2026-04-13 15:56:38 -06:00
  • 362e93fb29
    Fix #499: Add object_from_json, map_to_object, and object_to_map functions (#676) leftibot 2026-04-13 15:44:04 -06:00
  • 74e9b69029 Fix #499: Add object_from_json, map_to_object, and object_to_map functions leftibot 2026-04-12 17:31:34 -06:00
  • 42ecde5197 Fix #552: Support nested namespaces via dotted names leftibot 2026-04-12 17:24:49 -06:00
  • 9d4ec82475 Address review: fix AppleClang builds by adding from_chars float fallback leftibot 2026-04-12 17:10:40 -06:00
  • ef018f57c8 Fix #531: Support static member functions via ClassName.func() syntax leftibot 2026-04-12 17:03:27 -06:00
  • 07d62aae99
    Fix #635: Segfault in async result via dangling pointer from optimized for loop (#671) leftibot 2026-04-12 16:47:06 -06:00
  • 05d866ab49 Fix #628: Add EBNF grammar for railroad diagram generation leftibot 2026-04-12 16:45:49 -06:00
  • 5a6050210d
    Fix #594: Map keys become dangling references when pushed into Vector (#650) leftibot 2026-04-12 16:39:19 -06:00
  • 276fa9d13a Address review: revert := deep-copy change, keep reference-assign semantics leftibot 2026-04-12 16:34:40 -06:00
  • da7a1e043b Address review: simplify from_chars migration to net reduction in code leftibot 2026-04-12 16:29:31 -06:00
  • 9237acbbb9
    Fix #634: Add divide-by-zero check for modulo assignment operator (#672) leftibot 2026-04-12 16:28:41 -06:00
  • d7d3981bbc Fix #634: Add divide-by-zero check for modulo assignment operator leftibot 2026-04-12 16:17:36 -06:00
  • f430afd470 Address review: exclude async_return_value.chai when compiled without thread support leftibot 2026-04-12 15:49:12 -06:00
  • 6dc28ca1ba Fix #635: Segfault in async result via dangling pointer from optimized for loop leftibot 2026-04-11 23:12:37 -06:00
  • 4804fb6e03
    Fix #666: TSAN builds don't actually use threads (#670) leftibot 2026-04-11 20:25:46 -06:00
  • 861805d9c3 Address review: use Ninja generator for all unix CI targets leftibot 2026-04-11 19:41:47 -06:00
  • 726169acc8
    Fix #398: Allow overriding [] operator with string index on Dynamic_Object subtypes (#667) leftibot 2026-04-11 18:59:09 -06:00
  • bcd07e05cd
    Fix #571: How to redirect "cout" and "print" to a microsoft Windows 10 window? (#657) leftibot 2026-04-11 18:58:09 -06:00
  • dcdab50efd
    Fix #470: Expose find() for associative container types (#668) leftibot 2026-04-11 18:57:26 -06:00
  • 708dd4ba70 Fix #666: TSAN builds don't actually use threads leftibot 2026-04-11 18:41:32 -06:00
  • 6517bb38a7 Fix #378: Replace hand-rolled number parsing with std::from_chars leftibot 2026-04-11 18:25:47 -06:00
  • 59780bd309 Fix #470: Expose find() for associative container types leftibot 2026-04-11 18:07:57 -06:00
  • 85b357b721 Fix #398: Allow overriding [] operator with string index on Dynamic_Object subtypes leftibot 2026-04-11 17:58:51 -06:00
  • 66e945782e Address review: populate null print handler when No_IO is set leftibot 2026-04-11 17:21:29 -06:00
  • 0d1ceed05d
    Fix #473: Allow assignment expressions in return statements (#665) leftibot 2026-04-11 17:13:50 -06:00
  • 258eb63fd1 Address review: fix merge conflicts with develop, ensure print_handler works with No_IO leftibot 2026-04-11 17:12:34 -06:00
  • e2aa3e929e Address review: define println in terms of print, expose set_print_handler to ChaiScript leftibot 2026-04-11 16:51:41 -06:00
  • 08281a9d69
    Fix #146: Add configuration to bypass the registering of 'built-in' functions. (#642) leftibot 2026-04-11 16:49:13 -06:00
  • ffb8c82818 Fix #473: Allow assignment expressions in return statements leftibot 2026-04-11 16:44:54 -06:00
  • 005f18feb2
    Fix #524: Support std::vector of non-copyable types like std::unique_ptr (#648) leftibot 2026-04-11 16:44:06 -06:00
  • 83e43d918e
    Merge branch 'develop' into fix/issue-524-a-std-vector-of-std-unique-ptrs-can-t-be Jason Turner 2026-04-11 16:43:43 -06:00
  • 11fec25112
    Fix #625: function_less_than comparator violates strict-weak ordering (#654) leftibot 2026-04-11 16:42:40 -06:00
  • 973f9c554c Address review: fix merge conflicts with develop leftibot 2026-04-11 16:16:25 -06:00
  • 707baee248
    Merge branch 'develop' into fix/issue-625-macos-15-2-runtime-error-in-add-function Jason Turner 2026-04-11 16:16:16 -06:00
  • 7b95ff5126
    Fix #655: Async issues with threads outliving the chaiscript engine (#656) leftibot 2026-04-11 16:12:41 -06:00
  • 9e096a67a4 Add cheatsheet documentation for Options and Library_Options leftibot 2026-04-11 16:12:34 -06:00
  • ab9aabbaf3 Merge remote-tracking branch 'origin/develop' into fix/issue-625-macos-15-2-runtime-error-in-add-function leftibot 2026-04-11 16:08:56 -06:00
  • 1b27d0dd15
    Fix #459: Fill out the set of conversion functions for all POD types (#664) leftibot 2026-04-11 16:08:09 -06:00
  • 340e7d4b16
    Fix #472: Emscripten Frontend (#662) wasm-latest leftibot 2026-04-11 15:58:28 -06:00
  • e7b47850ad Address review: fix merge conflicts with develop leftibot 2026-04-11 15:52:00 -06:00
  • 6eaa4de9d6 Address review: fix merge conflicts with develop leftibot 2026-04-11 15:49:18 -06:00
  • 316d605f1f Address review: publish WASM assets as release under wasm-latest tag leftibot 2026-04-11 15:46:42 -06:00
  • 255ff87f37
    Fix #405: push_back() on script-created vector has no effect if vector_conversion is in effect (#663) leftibot 2026-04-11 15:45:22 -06:00
  • ded66bc832 Fix #459: Fill out the set of conversion functions for all POD types leftibot 2026-04-11 15:39:33 -06:00
  • 92abd226a9
    Fix #660: Windows builds are broken (#661) leftibot 2026-04-11 15:06:33 -06:00
  • 3572174f30 Address review: add IO redirection section to cheatsheet leftibot 2026-04-11 15:04:56 -06:00
  • f9711f6bca Address review: remove issue references from comments, add round-trip conversion tests leftibot 2026-04-11 15:01:41 -06:00
  • 6516e08da4 Address review: remove Windows sanitizers, add TSAN for Linux/macOS leftibot 2026-04-11 14:51:48 -06:00
  • 0c4252dadd Fix #405: push_back() on script-created vector has no effect with vector_conversion leftibot 2026-04-11 14:48:12 -06:00
  • c7e4ae2b40 Address review: add Windows ASAN+UBSAN sanitizer support leftibot 2026-04-11 14:28:58 -06:00
  • e35bf00ec6 Fix #472: Add Emscripten/WebAssembly build for browser-based ChaiScript leftibot 2026-04-11 14:21:56 -06:00
  • de839bcf4f Fix #660: Fix Windows builds, remove Appveyor, add sanitizer CI builds leftibot 2026-04-11 14:02:59 -06:00
  • 530b492b8e Address review: follow rule of 5, explicitly default move operations leftibot 2026-04-11 13:59:12 -06:00
  • 2a3a41ac23 Merge remote-tracking branch 'origin/develop' into fix/issue-625-macos-15-2-runtime-error-in-add-function leftibot 2026-04-11 13:49:47 -06:00
  • 1619d846da
    Fix #607: Remove unnecessary forward declarations that cause C++20 build failures (#647) leftibot 2026-04-11 13:42:40 -06:00
  • bc771ab8ba
    [WIP] Issue #615 — Switch to GitHub Actions (#658) leftibot 2026-04-11 13:40:04 -06:00
  • 8b8b047de7 Address review: add workflow_dispatch to enable manual CI runs on fork leftibot 2026-04-11 12:52:35 -06:00
  • 4774f35219 Address review: use native compilers, remove MSYS/MinGW leftibot 2026-04-11 12:34:35 -06:00
  • 21c815d676 Fix #631: Respect CMAKE_INSTALL_PREFIX and use GNUInstallDirs for install paths leftibot 2026-04-11 11:41:50 -06:00
  • e04ad5db99 Fix #615: Switch from Travis CI to GitHub Actions leftibot 2026-04-11 11:34:39 -06:00
  • 28b585d92b Fix #571: Add per-instance IO redirection via set_print_handler/set_println_handler leftibot 2026-04-11 11:28:15 -06:00
  • fa4b8277f5
    Fix #554: Document the difference between add, add_global, and set_global (#649) leftibot 2026-04-11 11:17:46 -06:00
  • 8dbb5eddce Fix #655: Join async threads before engine destruction to prevent heap-use-after-free leftibot 2026-04-11 10:24:25 -06:00
  • 1a3da64e02 Fix #625: function_less_than comparator violates strict-weak ordering leftibot 2026-04-11 09:54:27 -06:00
  • 96cae78242 Fix #636: Prevent heap-use-after-free in async threads during engine destruction leftibot 2026-04-11 09:47:47 -06:00
  • f1a0c2ae41 Fix #635: Segfault in optimized for-loop when := copies stack-local variable leftibot 2026-04-11 09:35:51 -06:00
  • c5b81b880f Fix #632: Join async threads before engine destruction to prevent use-after-free leftibot 2026-04-11 09:24:10 -06:00
  • c3121b9861 Fix #594: Map keys become dangling references when pushed into Vector leftibot 2026-04-11 09:11:02 -06:00
  • aeeb1e5c55 Fix #554: Document the difference between add, add_global, and set_global leftibot 2026-04-11 08:59:48 -06:00
  • ece441ca1c Fix #524: Support std::vector of non-copyable types like std::unique_ptr leftibot 2026-04-11 08:54:35 -06:00
  • ebf921e735 Fix #607: Remove unnecessary forward declarations that cause C++20 build failures leftibot 2026-04-11 08:43:06 -06:00
  • 7b45fe19fe
    Fix #592: Local variable saw_eol in Class_Statements() was always true (#646) leftibot 2026-04-11 08:32:27 -06:00
  • 50c27cfd78 Fix #592: Local variable saw_eol in Class_Statements() was always true leftibot 2026-04-11 08:06:36 -06:00
  • e42497a8b3
    Fix #256: ChaiScript::get_locals() does not show functions (#640) leftibot 2026-04-11 07:57:09 -06:00
  • 4786a6ce26 Address review: add tests for get_scripting_objects() leftibot 2026-04-10 22:25:16 -06:00
  • a9fa6657c0 Merge develop into feature branch to resolve conflicts leftibot 2026-04-10 22:16:01 -06:00
  • fc574c320b
    Fix #17: Add const variables in ChaiScript (#643) leftibot 2026-04-10 22:12:13 -06:00
  • 7d3c29085d
    Merge pull request #638 from leftibot/fix/issue-284-way-to-disable-instring-eval Jason Turner 2026-04-10 22:09:50 -06:00
  • d288e0ba10 Address review: remove const_override, set const flag directly on Type_Info leftibot 2026-04-10 22:04:05 -06:00
  • f1ab992d0a
    Merge pull request #645 from leftibot/fix/issue-477-json-unicode-escape Jason Turner 2026-04-10 21:58:07 -06:00
  • 91e50bc80f Add tests for JSON \u unicode escape sequences leftibot 2026-04-10 19:49:56 -06:00
  • bcf2fdbf50 Fix #477: Handle \u unicode escape sequences in JSON parser olikraus 2026-04-10 19:49:48 -06:00
  • a25778c323 Address review: split Options into Options and Library_Options enums leftibot 2026-04-10 19:26:52 -06:00
  • f59eff9b2f
    Fix #201: Suggestion: class Inheritance (#641) leftibot 2026-04-10 19:12:06 -06:00
  • 099eee5904 Add typed parameter tests for class inheritance leftibot 2026-04-10 19:01:42 -06:00
  • 0a23aec48f Add tests for passing derived objects to functions expecting Base leftibot 2026-04-10 18:39:35 -06:00
  • 22092656fd
    Merge pull request #644 from leftibot/fix/issue-421-switch-type-conversion Jason Turner 2026-04-10 18:36:06 -06:00
  • a329be16ad Add tests for #421: switch with type_conversion lifetime bug leftibot 2026-04-10 18:18:25 -06:00