551 Commits

Author SHA1 Message Date
Jason Turner
82bd46bb1a More usage cleansups 2009-07-18 23:34:08 +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
Jonathan Turner
ac817ff33a Change 'elseif' to 'else if' to better support C++ expectations 2009-07-17 14:16:27 +00:00
Jason Turner
689143aba5 Fix broken push_back in prelude, to correct for unit tests. 2009-07-16 23:53:13 +00:00
Jason Turner
9b733b2621 Correct g++ compilation error caused by r308, fix for casting to const boost::shared_ptr<> &. 2009-07-16 23:46:19 +00:00
Jason Turner
727dc7b0d6 Add support for boxed_cast<> to const boost::shared_ptr<Type> &, fixing the problem Jon was having 2009-07-16 21:30:01 +00:00
Jonathan Turner
3fc5f8e8e1 Guard push_back to ensure we have the push_back_ref before we call it 2009-07-16 20:32:33 +00:00
Jonathan Turner
aed493322b Clean up exception story so that there is only one exception type and one thing the user needs to catch 2009-07-16 13:24:15 +00:00
Jason Turner
8dbb43f45f Clean up last bug fix with full support for const & (and presumably some support for const *) contained types. 2009-07-15 23:36:10 +00:00
Jason Turner
ec2f81c674 Fix bug that jon discovered that affects attempting to return a reference to an object that shares a memory location with a containing object but has a different type. 2009-07-15 23:12:49 +00:00
Jonathan Turner
724ffdcb20 Oops, resetting CMakeList.txt to the correct one 2009-07-15 14:41:21 +00:00
Jonathan Turner
7c7e437b10 Clean up unnecessary Boxed_Value copies in eval 2009-07-15 14:40:53 +00:00
Jonathan Turner
599a21d377 Small bugfix to float parser v1.0.0 Release-1.0.0 2009-07-13 13:48:06 +00:00
Jonathan Turner
2d0b8e85b6 Move test files to contrib/test and added one liner to readme 2009-07-13 13:18:26 +00:00
Jonathan Turner
7f435985d3 Add readme file 2009-07-13 11:41:56 +00:00
Jonathan Turner
5ec3901396 Some minor source header touchups 2009-07-13 03:13:04 +00:00
Jason Turner
45fbe2028a Correct registration of array[]. (Rollback to previous version) to fix broken unit tests. 2009-07-13 03:04:47 +00:00
Jason Turner
7f71c77e56 Add documented example usage for C++ api. To be used for website documentation purposes as well 2009-07-12 17:05:24 +00:00
Jason Turner
a70dc12b2a Documentation updates. 2009-07-12 03:07:45 +00:00
Jason Turner
c9e67f2063 use relative include paths to make moving files around/portability easier potentially. 2009-07-11 13:00:43 +00:00
Jason Turner
e9bd246b18 Update VC++ project for new dir layout 2009-07-11 12:51:23 +00:00
Jonathan Turner
7da81c8c11 Put eval init in constructor 2009-07-10 15:45:48 +00:00
Jonathan Turner
15979ecdb2 A couple touchups. Fixed package builder 2009-07-10 15:37:10 +00:00
Jonathan Turner
008329f36d Move dispatchkit unittest out of include 2009-07-10 15:26:35 +00:00
Jonathan Turner
5c79c7cec0 Move dispatchkit test out of include 2009-07-10 15:25:14 +00:00
Jonathan Turner
ac2b59796f Moving internal includes to point to the new dir structure 2009-07-10 15:24:24 +00:00
Jonathan Turner
4a5c86f07f Moving files into new locations 2009-07-10 15:10:21 +00:00
Jonathan Turner
a40c71967c Move dispatch kit into new include tree 2009-07-10 15:06:47 +00:00
Jason Turner
c468044f99 Add logo 2009-07-10 12:55:49 +00:00
Jonathan Turner
06604e14b5 Cleaned up exception story 2009-07-09 22:53:09 +00:00
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
5406d16f0b Touchup to unit test runner 2009-07-09 20:16:22 +00:00
Jonathan Turner
0cfbac6b23 Add unit tests runner 2009-07-09 17:27:28 +00:00
Jonathan Turner
fb286b91ea Add unit tests for mmd and guarded mmd 2009-07-09 17:07:29 +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
Jonathan Turner
bf8d58163a Finished documenting chaiscript side 2009-07-09 12:26:19 +00:00
Jonathan Turner
b8dec6c187 Add a unit test for bind 2009-07-09 03:37:57 +00:00
Jonathan Turner
6aaee43205 Add a couple of unit tests for insert_at and erase_at 2009-07-09 02:56:31 +00:00
Jason Turner
9c8e4dd535 Add insert_at and erase_at for vector 2009-07-09 02:08:16 +00:00
Jonathan Turner
98edfc8dba Code cleanup. Refactor chaiscript_eval to use functions instead of inline code 2009-07-08 22:01:40 +00:00
Jonathan Turner
a0448fa558 Missing unit test answer 2009-07-08 19:03:36 +00:00
Jonathan Turner
e7d63b1536 First set of unit tests 2009-07-08 18:59:10 +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
Jonathan Turner
bea05c6ea0 Added function def annotations 2009-07-07 16:16:27 +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