Jonathan Turner
|
054179ead3
|
Commenting out of previous node value caching scheme. This allows us to profile later, without having these smaller optimizations
clutter up the flow. This also allows us to pass the reflection test.
|
2010-08-29 21:33:11 +00:00 |
|
Jonathan Turner
|
8a6a46d0d3
|
Fix to the method/array dispatch issue
|
2010-08-29 19:49:57 +00:00 |
|
Jonathan Turner
|
c6452c4bd6
|
Rename of Token to AST_Node to be more correct
|
2010-08-28 18:38:01 +00:00 |
|
Jonathan Turner
|
c5f20ea158
|
A little cleanup of logical and/or since those are now separate evals.
|
2010-08-19 14:42:18 +00:00 |
|
Jonathan Turner
|
7f037b26d4
|
Updated email addresses in copyright information.
|
2010-08-10 05:24:07 +00:00 |
|
Jonathan Turner
|
b1e357423f
|
Move structure to being inheritance-based in preparation for reflection infrastructure. This technique relies on the vtable's dynamic dispatch for correct evaluation, and removes the giant switch eval style of previous revisions.
|
2010-08-08 17:18:32 +00:00 |
|
Jonathan Turner
|
556e7ad916
|
Cleaned up the formatting a bit. Switched parser over to using charBetween, which significantly improves
readability of the early parsing rules.
|
2010-08-06 11:17:53 +00:00 |
|
Jason Turner
|
799b3ef388
|
Update copyright for 2010
|
2010-05-15 22:48:54 +00:00 |
|
Jason Turner
|
faaa964565
|
No longer allow a local variable to be used as a function during dot notation sugar lookup. It's far less confusing this way
|
2010-01-27 03:54:42 +00:00 |
|
Jason Turner
|
3a4421a57c
|
Fix empty array unit test by reimplementing the node->children.size() test erroneously removed in r466
|
2010-01-07 01:47:04 +00:00 |
|
Jason Turner
|
0c0df2c982
|
VS 2008 related corrections.
|
2009-12-08 15:57:31 +00:00 |
|
Jason Turner
|
e601de9d18
|
Reduce use of Param_List_Builder by providing call_function implementations for 0,1,2 arity
|
2009-12-06 01:31:58 +00:00 |
|
Jason Turner
|
645cdddd70
|
Small but measurable eval performance increase (in optimized builds) by managing the number of Boxed_Values copies and assignments
|
2009-12-05 18:54:55 +00:00 |
|
Jonathan Turner
|
ac8462fb67
|
Fix up some broken sample files
|
2009-12-02 14:29:42 +00:00 |
|
Jason Turner
|
1c6b2725b3
|
Provide some hints for dispatches with lhs (first param) that is const
|
2009-11-21 06:02:17 +00:00 |
|
Jonathan Turner
|
e14931f389
|
Move completely over to new operators
|
2009-11-10 14:07:51 +00:00 |
|
Jonathan Turner
|
1bc968e788
|
Add initial unaries
|
2009-11-08 16:27:39 +00:00 |
|
Jason Turner
|
fe5a935abd
|
add is_undef functionality to boxed_value
|
2009-11-08 15:16:15 +00:00 |
|
Jonathan Turner
|
d946cb7e9d
|
Small fix to the casting of values in boolean logical statements
|
2009-11-07 14:50:41 +00:00 |
|
Jonathan Turner
|
18bfead387
|
Move to a better operator parser, add support for most of the C++ binary operators
|
2009-11-07 14:43:12 +00:00 |
|
Jonathan Turner
|
12e909d9aa
|
Add bit shifting operators
|
2009-10-13 03:35:01 +00:00 |
|
Jason Turner
|
edd274ccce
|
Fix some more obscure warnings
|
2009-10-06 02:26:47 +00:00 |
|
Jonathan Turner
|
a5b2ec3006
|
Start code cleanups by moving chaiscript common structures into their own file.
|
2009-09-23 05:00:14 +00:00 |
|
Jason Turner
|
bad5384c96
|
Fix multi-file compilation issues
|
2009-09-22 20:59:10 +00:00 |
|
Jonathan Turner
|
03746e7606
|
Add keywords for NaN and Infinity
|
2009-09-21 16:50:30 +00:00 |
|
Jason Turner
|
160f64e9c2
|
Enabled short hand for adding new methods to existing C++ types
|
2009-09-20 21:32:39 +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 |
|
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
|
5092713876
|
Add in-string eval
|
2009-09-12 14:52:46 +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 |
|
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 |
|
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
|
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 |
|
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 |
|
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
|
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 |
|
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
|
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
|
4d4c26bf73
|
Major updates to the C++ API. Please see trunk/src/example.cpp to follow along
|
2009-07-18 18:05:54 +00:00 |
|