Jason Turner
c974ab0034
Fix a bug which prevented _ from being visible in all places, enhance prelude to take an inserter algorithm for each function that generates a new list
2009-07-07 01:55:04 +00:00
Jonathan Turner
0708f32694
Added bool equations to bootstrap
2009-07-06 16:11:03 +00:00
Jonathan Turner
7ceb3e8700
Added concat function
2009-07-06 14:54:12 +00:00
Jonathan Turner
494335fb09
Change default push_back behavior
2009-07-04 15:20:15 +00:00
Jonathan Turner
4f09d945dd
Add modulus operator
2009-07-04 10:55:17 +00:00
Jason Turner
310dd030ac
Register string as a container type and update the prelue to guard to_string for ranges against strings.
2009-07-03 16:37:18 +00:00
Jason Turner
27e72d117f
Add "is_type" utility function and register "function" as a registered typename
2009-07-03 15:41:51 +00:00
Jason Turner
b720d85c8b
Implement function assignment
2009-07-03 15:07:18 +00:00
Jason Turner
ca8337a41d
Fix clone of functions
2009-07-03 05:47:53 +00:00
Jason Turner
47052f710c
Fix some semantics of operator= to reduce dispatch, etc.
...
Also, add more bootstrapping support for some of the built in types.
2009-07-02 19:59:40 +00:00
Jonathan Turner
6ddef8f918
Changed to using to_string as dispatch instead of print and puts
2009-07-02 17:45:58 +00:00
Jonathan Turner
f6342ef2a8
Remove stale && and || registration
2009-07-01 20:02:01 +00:00
Jonathan Turner
5d9794470e
Remove stale && and || registration
2009-07-01 19:57:31 +00:00
Jason Turner
714e1c0cec
Support cleaner usage of bind, by adding a built in _ variable
2009-06-29 23:00:29 +00:00
Jason Turner
8d42015334
Add retry to dispatch mechanism in case of guard failure
2009-06-27 14:00:22 +00:00
Jason Turner
9b8fcef612
Add stub (may be complete) guard implementation
2009-06-27 13:55:45 +00:00
Jason Turner
ee9c71de4c
Add support for seeing if a dispatch exists
2009-06-26 15:28:11 +00:00
Jason Turner
f8593a0927
Add type_match function to see if two types are the same
2009-06-26 13:37:00 +00:00
Jason Turner
46859b1918
Add support for function binding and cut down on some includes
2009-06-25 22:34:00 +00:00
Jonathan Turner
18985b6a97
Added puts and join
2009-06-25 02:45:28 +00:00
Jason Turner
12f7c222e1
Return matching named functions when a get_object query finds no matching name object
2009-06-25 00:50:18 +00:00
Jason Turner
eb5dbe4975
Add more specific exception types to the dynamic system and handle them properly
2009-06-25 00:03:23 +00:00
Jonathan Turner
3ed5fe0c97
Added ws skipping. Non ws skipping versions of base parsers. Added comment skipping
2009-06-24 13:53:05 +00:00
Jason Turner
32edcf170d
Clean up some of the function callback and functor code, for easier registration, etc.
2009-06-23 03:01:56 +00:00
Jason Turner
d02620bb1b
Cleanup Cast_Helper and add new boxed_cast<>() function.
2009-06-23 02:47:47 +00:00
Jason Turner
a5ecd3ceb0
Begin changing to better casting types
2009-06-23 01:21:21 +00:00
Jason Turner
dc11237af9
Add build_functor algorithm for constructing a boost function_object from a script snippet
2009-06-21 18:09:00 +00:00
Jason Turner
d4ec79607f
Clean up syntax for build_function_caller to allow for further use of it better
2009-06-21 17:20:26 +00:00
Jason Turner
9f13858482
further the sensors example to load and parse files
2009-06-20 23:24:06 +00:00
Jason Turner
0a7d7958ab
Add boot strapping of string parsing for pod types
2009-06-20 20:26:47 +00:00
Jason Turner
75465ca585
Add comparison operators to strings
2009-06-20 18:09:26 +00:00
Jason Turner
c7c6f215b0
Remove debugging statements for duplicate function entries
2009-06-20 17:23:23 +00:00
Jason Turner
3d23bb68f6
Add support for std::pair
2009-06-20 16:02:22 +00:00
Jason Turner
4172cf6263
Add the ability to make type safe calls into scripted functions
2009-06-18 16:08:09 +00:00
Jason Turner
6894a59e87
Further reduction of redundant code by merging 0 param case for constructors in
2009-06-18 01:37:13 +00:00
Jason Turner
febc3753be
Further support for std::map
2009-06-17 03:02:00 +00:00
Jason Turner
4bb66255ef
Forbid adding of two functions with the exact same signature
2009-06-17 02:17:27 +00:00
Jason Turner
e231cb4cf7
Better implementation of variadic templates with no longer needing a special 0 template version
2009-06-17 01:10:41 +00:00
Jason Turner
146bdf8ea1
Initial support for maps
2009-06-17 00:47:46 +00:00
Jason Turner
a952bcd066
Initial support for container ranges. Still half baked, but works.
2009-06-14 16:55:09 +00:00
Jason Turner
ca20bf7eb5
Add support for registering of member data fields of structs
2009-06-14 05:43:38 +00:00
Jason Turner
8cb8bd7082
eliminate redundant definitions of common operators
2009-06-14 03:58:49 +00:00
Jason Turner
d94a107c41
Clean up and make boxed_value more portable, but not casting pointers to ints
2009-06-14 03:13:35 +00:00
Jason Turner
785263628b
Add namespace dispatchkit
2009-06-13 22:42:13 +00:00
Jason Turner
ce52cae45c
Updated nameing of boxedcpp to dispatchkit
2009-06-13 22:03:41 +00:00
Jason Turner
4edea184de
Move towards more header only implementation friendly
2009-06-13 21:55:55 +00:00
Jason Turner
1eb0964f4e
Reduce problems for header only implementation be eliminating static class object
2009-06-13 20:55:47 +00:00
Jason Turner
dc0f74fd36
Reference counting working for reals now. Previously it was counting the wrong thing (but was almost good enough)
2009-06-12 05:19:58 +00:00
Jason Turner
b96059cba8
Memory management with freeing when applicable
2009-06-12 00:01:54 +00:00
Jason Turner
9838e34a96
First take on recycling of pointers for use in reference objects. Two caveats:
...
1) Static member defined in header. this will have to be cleaned up as it prevents mult-file compilation.
2) Ptrs are never let go of, so data is never freed, so every object that is ever created is always created
2009-06-11 22:01:15 +00:00