Jason Turner
|
593c6c68ee
|
Port "retro" to use the new built in object typing, add unit test for retro'ing a retro
|
2009-09-20 03:50:25 +00:00 |
|
Jason Turner
|
991753a492
|
Add support for cloning of dynamic objects
|
2009-09-19 23:12:56 +00:00 |
|
Jason Turner
|
7cdd772f2b
|
Add const correctness for proxy functions. Add unit tests for function variable assignment scenarios
|
2009-09-19 21:13:12 +00:00 |
|
Jonathan Turner
|
c5f837fd19
|
Added 'finally' to try/catch block
|
2009-09-19 18:12:22 +00:00 |
|
Jonathan Turner
|
7c244d25b5
|
Add support for chai objects by adding methods and attrs
|
2009-09-19 15:32:12 +00:00 |
|
Jonathan Turner
|
18fc4d419f
|
Fix to catch block handling that would have lost the scope of the boost::ref of the exception
|
2009-09-19 13:40:48 +00:00 |
|
Jonathan Turner
|
813fa055a3
|
Added guarded exception catches
|
2009-09-19 13:30:11 +00:00 |
|
Jason Turner
|
6a47846b84
|
Add runtime_error support, for throwing a normal std::exception. Also, move bootstrap for Dynamic_Object into its proper place.
|
2009-09-19 12:15:17 +00:00 |
|
Jason Turner
|
b0041217b0
|
initial checkin of dynamic object support with example usage in example.cpp
|
2009-09-19 02:36:27 +00:00 |
|
Jonathan Turner
|
b17c6b9748
|
Add support for std::exception and what()
|
2009-09-18 22:26:07 +00:00 |
|
Jonathan Turner
|
204d379176
|
Fix default cmake build to use readline and gdb. Add simple try/catch/throw exceptions
|
2009-09-18 22:04:07 +00:00 |
|
Jonathan Turner
|
63de0fd33c
|
Add a couple more in-string eval unit tests to check for proper escaping
|
2009-09-13 12:53:12 +00:00 |
|
Jonathan Turner
|
5092713876
|
Add in-string eval
|
2009-09-12 14:52:46 +00:00 |
|
Jonathan Turner
|
f23f0edc70
|
Fix parser to handle shortform equations (fix bad operator parsing). Add back lines to prelude for line numbers
|
2009-09-09 14:11:03 +00:00 |
|
Jason Turner
|
daee00da95
|
Minor performance enhancement for caching function and cleanup of minor windows warning in same function.
|
2009-09-09 13:17:20 +00:00 |
|
Jason Turner
|
e2cdac0406
|
Decrease compilation time by removing "Retro" from c++ compiled and making a chaiscript version instead
|
2009-09-09 03:11:47 +00:00 |
|
Jonathan Turner
|
1bf3b1ed37
|
Couple changes for module loading in mingw
|
2009-09-08 21:22:37 +00:00 |
|
Jason Turner
|
f7b530ebae
|
Quick fix to (hopefully) module support on mingw
|
2009-09-08 19:21:11 +00:00 |
|
Jonathan Turner
|
cfee4c6bc1
|
Bugfix: cached the wrong boolean value. Fixed.
|
2009-09-08 02:15:41 +00:00 |
|
Jason Turner
|
798908f127
|
Add loadable module support for ms Visual C++ and fix visual studio specific type identification problems, (while making the C++ more correct)
|
2009-09-07 17:05:57 +00:00 |
|
Jonathan Turner
|
7e3127549f
|
Added simple const value caching. Fix CMake to default back to debug mode
|
2009-09-07 15:48:32 +00:00 |
|
Jason Turner
|
7cc6a3cab9
|
Add support for loadable modules on POSIX systems
|
2009-09-06 23:33:03 +00:00 |
|
Jonathan Turner
|
cba5731576
|
Fixing the last of the const change issues
|
2009-09-06 02:55:39 +00:00 |
|
Jonathan Turner
|
e9539dfee2
|
BROKEN./run_unit_tests.sh ! This is to help repair unit tests broken in move to consts. Should be fixed shortly.
|
2009-09-06 02:24:46 +00:00 |
|
Jason Turner
|
3094ff6e3b
|
Made thread saftey a compilation option for performance and dependencies reasons
|
2009-09-05 00:16:46 +00:00 |
|
Jason Turner
|
4d42d6ff33
|
Add shared objects that can be used by all threads at their root scope only
|
2009-09-03 11:42:23 +00:00 |
|
Jason Turner
|
efb7a8d453
|
Create local thread caches of registered function objects to reduce thread contention
|
2009-09-02 02:28:38 +00:00 |
|
Jason Turner
|
6c4872eae9
|
Initial check in of multithreaded support for chaiscript
|
2009-08-31 19:50:41 +00:00 |
|
Jason Turner
|
ff639a267d
|
Shave a few cycles off by reducing copies and assignments of objects in eval
|
2009-08-30 02:24:11 +00:00 |
|
Jason Turner
|
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
|
2009-08-30 00:48:17 +00:00 |
|
Jason Turner
|
89186a86c8
|
speed up operator calls by about 10% by reducing Proxy_Function copies and such
|
2009-08-29 19:19:31 +00:00 |
|
Jason Turner
|
c8c1c65e8c
|
Add std::list support
|
2009-08-29 14:00:07 +00:00 |
|
Jonathan Turner
|
91011695f0
|
Allow simple multiline commands in arg list and container arg list
|
2009-08-26 20:34:32 +00:00 |
|
Jason Turner
|
3a951cea99
|
Extend the reserved object name registration to include some missing values such as break and return and such
|
2009-08-26 02:21:41 +00:00 |
|
Jonathan Turner
|
8620f4eaf9
|
Fix for issue 23, makes for and while loops live in their own deeper scope
|
2009-08-26 02:02:41 +00:00 |
|
Jonathan Turner
|
59ecf32f9b
|
Add Eval_Error end extents and reserved word errors
|
2009-08-25 01:10:28 +00:00 |
|
Jason Turner
|
541e453098
|
check in of reserved word handling
|
2009-08-25 00:36:02 +00:00 |
|
Jason Turner
|
0b780593a6
|
Make for better error messages when a clone fails
|
2009-08-22 13:55:06 +00:00 |
|
Jonathan Turner
|
7e5b7cbd7a
|
Switch get_function to default to not doing object lookup. Correct method eval to maintain method lambda syntax. Add unit test for method lambda
|
2009-08-21 20:05:05 +00:00 |
|
Jason Turner
|
1f011f3d5b
|
Add "use" function for loading chai files from inside of ChaiScript and fix potential memory bug with filename const char * pointers being passed around
|
2009-08-21 03:33:57 +00:00 |
|
Jonathan Turner
|
8840f06053
|
Allow floating point numbers without a zero before the decimal point
|
2009-08-20 14:50:13 +00:00 |
|
Jason Turner
|
ba6b392174
|
Approximate 20% reduction in runtime on long running scripts, based on profiling data. Reduce number of execution of object cache culling, reduction of copies of the stack and reduction of Boxed_Value copies
|
2009-08-05 02:43:13 +00:00 |
|
Jason Turner
|
0b789004e9
|
Make "clone" a chaiscript based operation instead of forcing the user to register a clone method.
|
2009-07-24 13:17:00 +00:00 |
|
Jason Turner
|
0d3c90a245
|
Add "type_name" function and port the "new" in prelude to use it instead of clone/clear.
|
2009-07-24 04:01:28 +00:00 |
|
Jonathan Turner
|
2f591a25a6
|
Add ltrim, rtrim, and trim
|
2009-07-23 17:35:39 +00:00 |
|
Jonathan Turner
|
4127a6ed41
|
Added 'clear'. Added 'push_back' to string. Added char. Added simple reverse
|
2009-07-23 17:01:07 +00:00 |
|
Jason Turner
|
370121a9ff
|
add example.cpp to build for VC++, fix minor bug in passing of & parameters to functor<>, move bootstrap functions into bootstrap namespace and clean up function names and add "retro" support for reversing of ranges.
|
2009-07-23 04:35:15 +00:00 |
|
Jonathan Turner
|
72b6647718
|
Add missing return value
|
2009-07-20 19:53:31 +00:00 |
|
Jason Turner
|
a5a1e3ee1b
|
Revamped method for bootstrapping of types, using a new Module class that collects everything related to a type or group of types
|
2009-07-19 03:04:46 +00:00 |
|
Jason Turner
|
82bd46bb1a
|
More usage cleansups
|
2009-07-18 23:34:08 +00:00 |
|