27 Commits

Author SHA1 Message Date
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
8ae2e6cc8b Add rudimentary string searching based on std::string capabilities 2009-07-07 03:29:41 +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
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
4afdee1c09 Add odd and even functions 2009-07-04 10:58:07 +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
Jonathan Turner
b191d5a2ee Fix sum and product to start with floating point instead of int 2009-07-03 15:32:58 +00:00
Jonathan Turner
294d22ac5b Remove unnecessary type comparison in equation 2009-07-03 14:52:05 +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
Jonathan Turner
9c7f63e8b2 Fixed prefix operator precedence bug. Added collate(?), zip_with, and zip 2009-07-03 12:13:29 +00:00
Jonathan Turner
78be32927c Fixed repl scope leak after an exception 2009-07-03 03:13:05 +00:00
Jonathan Turner
db9442d5a8 More prelim testing to isolate repl issue 2009-07-02 22:54:50 +00:00
Jonathan Turner
a70af22eaf Add initial pair printing 2009-07-02 19:26:25 +00:00
Jonathan Turner
441112648e General cleanup to chaiscript prelude 2009-07-02 18:09:02 +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
60b814f687 Added print and puts for ranged values 2009-07-02 17:39:53 +00:00
Jonathan Turner
f6342ef2a8 Remove stale && and || registration 2009-07-01 20:02:01 +00:00
Jonathan Turner
96f3033a42 Moved to using a prelude header 2009-06-25 14:16:32 +00:00