Commit Graph

  • d946cb7e9d Small fix to the casting of values in boolean logical statements Jonathan Turner 2009-11-07 14:50:41 +00:00
  • 18bfead387 Move to a better operator parser, add support for most of the C++ binary operators Jonathan Turner 2009-11-07 14:43:12 +00:00
  • 4c015d7e44 Simplification of bootstrap_stl code resulting in slightly better engine start up performance and compile time performance Jason Turner 2009-10-21 01:48:21 +00:00
  • 1122f2c818 Clean up reference counting implementation while improving compile time and compromising runtime slightly Jason Turner 2009-10-20 00:34:15 +00:00
  • 81b9d62517 Tag r432 as release 2.1 tags/release_2_1 Jonathan Turner 2009-10-19 14:42:39 +00:00
  • d2d752ecd4 Fix registration of module loading functions v2.1.0 Release-2.1.0 Jason Turner 2009-10-19 14:00:48 +00:00
  • a18c701866 Fix type-shifting of bind_first for free function pointer types Jason Turner 2009-10-16 15:49:46 +00:00
  • 9871604a48 Make sure example.cpp compilable with new setup Jason Turner 2009-10-15 15:55:16 +00:00
  • b1d12fdc91 Further updates to the new bound function support, plus general cleanup of how it is used Jason Turner 2009-10-15 15:27:16 +00:00
  • 24e717d532 Fix "bind_first" for non member functions Jason Turner 2009-10-14 22:42:45 +00:00
  • 1568fedebd Reduce # of required versions for bound_fun and enhance it to work with non-member functions Jason Turner 2009-10-14 17:19:42 +00:00
  • c88578d537 Add another unit test for operator overloading Jonathan Turner 2009-10-14 14:00:22 +00:00
  • 9827345213 Fix Id Literals so that they are keyed off an Id search. This allows us to add operator overloading on the parse side. Jonathan Turner 2009-10-14 13:51:35 +00:00
  • c51d14fb13 Add some missing unit tests for number formats and block starting Jonathan Turner 2009-10-14 12:25:21 +00:00
  • 480761c1f7 Add bound_fun helper and put it to use cleaning up the engine bootstrapping Jason Turner 2009-10-14 02:34:09 +00:00
  • 12e909d9aa Add bit shifting operators Jonathan Turner 2009-10-13 03:35:01 +00:00
  • b1e892487f Enhance "is_type" to be more accurate and to work with Dynamic_Object types Jason Turner 2009-10-13 03:31:56 +00:00
  • 720eabcb16 Impliment range find functions and add unit test for contains and find. Jason Turner 2009-10-13 02:05:18 +00:00
  • 1fde71f3f4 Add type generic comparison operations "eq", "gt", and "lt" and port the "contains" operation to use it Jason Turner 2009-10-13 00:18:59 +00:00
  • 90f8b77171 Added .contains() to ranges Jonathan Turner 2009-10-11 20:02:21 +00:00
  • 315d7521a7 Clean up warnings. Add simple blocks. Jonathan Turner 2009-10-08 03:01:19 +00:00
  • ff177b5eaf Add octal support Jonathan Turner 2009-10-06 21:17:23 +00:00
  • 46fd7e9a58 Add hex value parsing support Jonathan Turner 2009-10-06 16:04:05 +00:00
  • edd274ccce Fix some more obscure warnings Jason Turner 2009-10-06 02:26:47 +00:00
  • a5b2ec3006 Start code cleanups by moving chaiscript common structures into their own file. Jonathan Turner 2009-09-23 05:00:14 +00:00
  • 9b881243ee Tag r411 as release 2.0 tags/release_2_0 Jason Turner 2009-09-23 01:46:37 +00:00
  • cd3c0d4fd7 Update property page to something more in line with normal boost installs. v2.0.0 Release-2.0.0 Jason Turner 2009-09-23 00:42:08 +00:00
  • 3bdd79a3fd Correct Windows unicode build issues. Jason Turner 2009-09-22 23:03:16 +00:00
  • b04e01cda7 Ensure that __EVAL__ is in the list of loaded files and be smarter about accessing it Jason Turner 2009-09-22 21:06:02 +00:00
  • bad5384c96 Fix multi-file compilation issues Jason Turner 2009-09-22 20:59:10 +00:00
  • 443902f787 Reduce overhead necessary for internal_eval. Desirable due to the use of "eval" during cloning operations Jason Turner 2009-09-22 01:58:16 +00:00
  • d3cdd6959d Add unit tests for range lookups Jason Turner 2009-09-22 01:36:13 +00:00
  • 9762e15460 Fix some range/retro issues and update the visual studio files Jason Turner 2009-09-22 01:23:02 +00:00
  • 33897e2c0f Add unit tests for multiline and inner outer loops Jonathan Turner 2009-09-21 17:31:10 +00:00
  • 9528e44b88 Add unit tests for multiline and inner outer loops Jonathan Turner 2009-09-21 17:30:55 +00:00
  • 03746e7606 Add keywords for NaN and Infinity Jonathan Turner 2009-09-21 16:50:30 +00:00
  • 50eace16da Allow "Module" to contain chaiscript snippets to be executed when a module is initialized. Update dynamic_object to use the new feature to clean up some of the _prelude.hpp Jason Turner 2009-09-21 03:07:01 +00:00
  • 8241e46680 Further refine how clone calls are dynamically generated, to avoid accidentally matching when we should not Jason Turner 2009-09-20 21:49:53 +00:00
  • 160f64e9c2 Enabled short hand for adding new methods to existing C++ types Jason Turner 2009-09-20 21:32:39 +00:00
  • 593c6c68ee Port "retro" to use the new built in object typing, add unit test for retro'ing a retro Jason Turner 2009-09-20 03:50:25 +00:00
  • 991753a492 Add support for cloning of dynamic objects Jason Turner 2009-09-19 23:12:56 +00:00
  • 7cdd772f2b Add const correctness for proxy functions. Add unit tests for function variable assignment scenarios Jason Turner 2009-09-19 21:13:12 +00:00
  • c5f837fd19 Added 'finally' to try/catch block Jonathan Turner 2009-09-19 18:12:22 +00:00
  • 7c244d25b5 Add support for chai objects by adding methods and attrs Jonathan Turner 2009-09-19 15:32:12 +00:00
  • 18fc4d419f Fix to catch block handling that would have lost the scope of the boost::ref of the exception Jonathan Turner 2009-09-19 13:40:48 +00:00
  • 813fa055a3 Added guarded exception catches Jonathan Turner 2009-09-19 13:30:11 +00:00
  • 6a47846b84 Add runtime_error support, for throwing a normal std::exception. Also, move bootstrap for Dynamic_Object into its proper place. Jason Turner 2009-09-19 12:15:17 +00:00
  • b0041217b0 initial checkin of dynamic object support with example usage in example.cpp Jason Turner 2009-09-19 02:36:27 +00:00
  • fedcd28ecc Add exception unit test Jonathan Turner 2009-09-19 02:21:36 +00:00
  • b17c6b9748 Add support for std::exception and what() Jonathan Turner 2009-09-18 22:26:07 +00:00
  • 204d379176 Fix default cmake build to use readline and gdb. Add simple try/catch/throw exceptions Jonathan Turner 2009-09-18 22:04:07 +00:00
  • a754ce9eb6 Initial check in of code analysis tool Jason Turner 2009-09-16 01:46:04 +00:00
  • 99b5f46a9e Fix type in help. Jonathan Turner 2009-09-15 20:32:16 +00:00
  • 394d8c3bf6 Allow the user to choose the build type using CMAKE_BUILD_TYPE by eliminating the overrides in the CMakeLists.txt file Jason Turner 2009-09-15 02:53:23 +00:00
  • 4bdbcf30ff Move std::list<> support from main.cpp into a module, stl_extra.cpp, to better allow for measuring of core compile times / performance. Jason Turner 2009-09-15 01:30:51 +00:00
  • 63de0fd33c Add a couple more in-string eval unit tests to check for proper escaping Jonathan Turner 2009-09-13 12:53:12 +00:00
  • 0fbb7c44bd Add some unit tests for in-string eval Jonathan Turner 2009-09-12 14:55:14 +00:00
  • 5092713876 Add in-string eval Jonathan Turner 2009-09-12 14:52:46 +00:00
  • f369afed77 Decrease compile times by 30% and runtimes by 10% by eliminating use of boost::bind during function dispatch Jason Turner 2009-09-10 03:44:42 +00:00
  • f23f0edc70 Fix parser to handle shortform equations (fix bad operator parsing). Add back lines to prelude for line numbers Jonathan Turner 2009-09-09 14:11:03 +00:00
  • daee00da95 Minor performance enhancement for caching function and cleanup of minor windows warning in same function. Jason Turner 2009-09-09 13:17:20 +00:00
  • e2cdac0406 Decrease compilation time by removing "Retro" from c++ compiled and making a chaiscript version instead Jason Turner 2009-09-09 03:11:47 +00:00
  • cc44ec99ba Fix reversed logic in printing output during eval Jason Turner 2009-09-08 23:39:34 +00:00
  • 1bf3b1ed37 Couple changes for module loading in mingw Jonathan Turner 2009-09-08 21:22:37 +00:00
  • f7b530ebae Quick fix to (hopefully) module support on mingw Jason Turner 2009-09-08 19:21:11 +00:00
  • b185e2e792 Make Type_Info internal data private and provide more rigorous definitions for comparisions of objects Jason Turner 2009-09-08 13:31:14 +00:00
  • 73ec2abd43 Add unit test script for windows Jonathan Turner 2009-09-08 02:22:49 +00:00
  • cfee4c6bc1 Bugfix: cached the wrong boolean value. Fixed. Jonathan Turner 2009-09-08 02:15:41 +00:00
  • 2d4b9c0d93 Another Touchup fix to CMakeLists.txt for cleanliness Jonathan Turner 2009-09-07 21:25:10 +00:00
  • f522d3697c Touchup fix to CMakeLists.txt for cleanliness Jonathan Turner 2009-09-07 21:09:18 +00:00
  • 48e96b2f3b Add readline support to eval. Jonathan Turner 2009-09-07 20:52:31 +00:00
  • 798908f127 Add loadable module support for ms Visual C++ and fix visual studio specific type identification problems, (while making the C++ more correct) Jason Turner 2009-09-07 17:05:57 +00:00
  • 7e3127549f Added simple const value caching. Fix CMake to default back to debug mode Jonathan Turner 2009-09-07 15:48:32 +00:00
  • 4713325877 Touchup to cmake project file to prevent error msg in OS X Jonathan Turner 2009-09-07 14:13:28 +00:00
  • 7cc6a3cab9 Add support for loadable modules on POSIX systems Jason Turner 2009-09-06 23:33:03 +00:00
  • cba5731576 Fixing the last of the const change issues Jonathan Turner 2009-09-06 02:55:39 +00:00
  • b3656c95f5 Correcting unit tests that are inc/dec temporaries. This is no longer allowed Jonathan Turner 2009-09-06 02:50:36 +00:00
  • e9539dfee2 BROKEN./run_unit_tests.sh ! This is to help repair unit tests broken in move to consts. Should be fixed shortly. Jonathan Turner 2009-09-06 02:24:46 +00:00
  • 4b40812e26 Add const_var helper function for making const values. Jason Turner 2009-09-06 02:09:19 +00:00
  • ef8cd1f591 Add more robust support for handling of const ptr values Jason Turner 2009-09-05 23:46:21 +00:00
  • 46cdb89921 Add missing chaiscript_threading.hpp Jason Turner 2009-09-05 13:10:27 +00:00
  • 3094ff6e3b Made thread saftey a compilation option for performance and dependencies reasons Jason Turner 2009-09-05 00:16:46 +00:00
  • 4d42d6ff33 Add shared objects that can be used by all threads at their root scope only Jason Turner 2009-09-03 11:42:23 +00:00
  • a427d2c1a9 Correct function pointer casts to more correct static_cast<>() Jason Turner 2009-09-03 00:15:56 +00:00
  • efb7a8d453 Create local thread caches of registered function objects to reduce thread contention Jason Turner 2009-09-02 02:28:38 +00:00
  • 6c4872eae9 Initial check in of multithreaded support for chaiscript Jason Turner 2009-08-31 19:50:41 +00:00
  • ff639a267d Shave a few cycles off by reducing copies and assignments of objects in eval Jason Turner 2009-08-30 02:24:11 +00:00
  • 94e4b671f3 Make sure to invalidate the cache when a new function name is added Jason Turner 2009-08-30 01:06:21 +00:00
  • 096c8aab50 Provide for caching of objects in the dispatch get get_object side. Also, update chaiscript_eval to not explicitly add a new stack object to each scope as it is created Jason Turner 2009-08-30 00:48:17 +00:00
  • 89186a86c8 speed up operator calls by about 10% by reducing Proxy_Function copies and such Jason Turner 2009-08-29 19:19:31 +00:00
  • c8c1c65e8c Add std::list support Jason Turner 2009-08-29 14:00:07 +00:00
  • c5e1d5fa20 Add ref equal unit test Jonathan Turner 2009-08-27 15:03:49 +00:00
  • 8772f91a17 Tag release 1.3 from r343 tags/release_1_3 Jason Turner 2009-08-26 21:39:02 +00:00
  • 91011695f0 Allow simple multiline commands in arg list and container arg list Jonathan Turner 2009-08-26 20:34:32 +00:00
  • 3a951cea99 Extend the reserved object name registration to include some missing values such as break and return and such v1.3.0 Release-1.3.0 Jason Turner 2009-08-26 02:21:41 +00:00
  • 8620f4eaf9 Fix for issue 23, makes for and while loops live in their own deeper scope Jonathan Turner 2009-08-26 02:02:41 +00:00
  • 59ecf32f9b Add Eval_Error end extents and reserved word errors Jonathan Turner 2009-08-25 01:10:28 +00:00
  • 541e453098 check in of reserved word handling Jason Turner 2009-08-25 00:36:02 +00:00
  • 0b780593a6 Make for better error messages when a clone fails Jason Turner 2009-08-22 13:55:06 +00:00
  • 2e7c5f413e Cleanup get_function implementation Jason Turner 2009-08-21 22:51:12 +00:00