280 Commits

Author SHA1 Message Date
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
Jason Turner
36208b401e Make the prelude string a bit more manageable 2009-07-07 00:21:19 +00:00
Jonathan Turner
2c5b1323dd Fixed a loss of error location on function calls 2009-07-06 16:27:27 +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
26f5d25243 Bug fix to returning values inside of a loop 2009-07-06 13:01:28 +00:00
Jonathan Turner
494335fb09 Change default push_back behavior 2009-07-04 15:20:15 +00:00
Jonathan Turner
e151e26d60 A minor correction to range vector generation 2009-07-04 13:40:42 +00:00
Jonathan Turner
a76cc16922 Better ranged vector, now generated from a new prelude function 2009-07-04 13:04:55 +00:00
Jonathan Turner
cda30f3ed7 Add range values of the form [x..y], currently internally generatored 2009-07-04 12:33:27 +00:00
Jonathan Turner
4afdee1c09 Add odd and even functions 2009-07-04 10:58:07 +00:00
Jonathan Turner
4f09d945dd Add modulus operator 2009-07-04 10:55:17 +00:00
Jonathan Turner
b2a99d4105 Add modulus operator to parser 2009-07-04 02:17:50 +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
Jonathan Turner
b191d5a2ee Fix sum and product to start with floating point instead of int 2009-07-03 15:32:58 +00:00
Jason Turner
b720d85c8b Implement function assignment 2009-07-03 15:07:18 +00:00
Jonathan Turner
294d22ac5b Remove unnecessary type comparison in equation 2009-07-03 14:52:05 +00:00
Jonathan Turner
bce2a1ffdb Remove old langkit project 2009-07-03 14:16:22 +00:00
Jonathan Turner
b1ae26e9c1 Remove old chaioop starting project 2009-07-03 14:15:09 +00:00
Jonathan Turner
34983dbed2 Added take_while and drop_while 2009-07-03 14:08:58 +00:00
Jonathan Turner
f35c2908d7 Change old reduce to foldl. Add clojure reduce. Add sum, product. Add take, drop, filter 2009-07-03 13:09:39 +00:00