63 Commits

Author SHA1 Message Date
Jason Turner
aa0f54c53f Port to visual studio + a couple of minor bug fixes. Compiles with only 2 "unreachable code" warnings on /W4 in VC++ 2009-07-09 22:24:11 +00:00
Jonathan Turner
57aeacab2e Fixed up annotation printing. Added help command to eval 2009-07-09 17:02:46 +00:00
Jonathan Turner
0f5ff57a46 First bit of work making a package build 2009-07-09 14:51:12 +00:00
Jason Turner
9c8e4dd535 Add insert_at and erase_at for vector 2009-07-09 02:08:16 +00:00
Jonathan Turner
3d75f17d21 First stab at annotation fixes. Still not perfect, but better 2009-07-08 15:12:26 +00:00
Jason Turner
90aa53bdc6 dump_system() looks nice now, lots of little updates. Annotations are displayed as well, but they do not work for the prelude, I don't know why. Any attempt to add them invalidates the function definition in question. sensors.chai does work, however 2009-07-08 04:22:47 +00:00
Jason Turner
a8d74cea6f Add support for annotations to dispatchkit, and reflect that support in chaiscript.
Also, some documentation cleanups.
2009-07-08 02:03:25 +00:00
Jason Turner
8ae2e6cc8b Add rudimentary string searching based on std::string capabilities 2009-07-07 03:29:41 +00:00
Jason Turner
24a4d61e44 Add "empty" support to standard containers. 2009-07-07 02:17:37 +00:00
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