165 Commits

Author SHA1 Message Date
Jonathan Turner
855e5acd2b Fixed strings with escaped characters. Added for_each to prelude 2009-06-20 18:43:25 +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
Jonathan Turner
682c572eea Allow function and method calls as lhs of equations 2009-06-20 16:12:10 +00:00
Jason Turner
3d23bb68f6 Add support for std::pair 2009-06-20 16:02:22 +00:00
Jonathan Turner
975d8c9618 Added attribute sugar for object attributes 2009-06-20 15:43:31 +00:00
Jonathan Turner
e3db4d3595 Added inline map init using ecmascript syntax 2009-06-20 14:46:05 +00:00
Jason Turner
d2d768e12c Remove gratuitous to_string 2009-06-20 14:24:18 +00:00
Jason Turner
9a8af16ffb add capability for passing functions back to C++ from script land, plus an example usage. 2009-06-18 18:36:43 +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
ae67be1ecd Add chaiscript namespace 2009-06-14 02:18:13 +00:00
Jason Turner
785263628b Add namespace dispatchkit 2009-06-13 22:42:13 +00:00
Jason Turner
416242286a Add langkit namespace 2009-06-13 22:19:30 +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
Jonathan Turner
7e46064bdc Renaming of samples from .wes to .chai 2009-06-12 01:29:11 +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
Jonathan Turner
e1727565e6 Finish move to dispatchkit/chaiscript 2009-06-11 17:50:31 +00:00
Jonathan Turner
4c08855f64 Next step in moving wesley to chaiscript 2009-06-11 17:41:58 +00:00
Jonathan Turner
85a30e91fb Moving wesley to chaiscript 2009-06-11 17:39:36 +00:00
Jonathan Turner
7c935702f6 Last step of new move attempt 2009-06-11 17:38:34 +00:00
Jonathan Turner
9816f55d59 Second step of new move attempt 2009-06-11 17:38:02 +00:00
Jonathan Turner
31cf022989 First step of new move attempt 2009-06-11 17:37:27 +00:00
Jonathan Turner
2044da1dc6 Removing stale first attempt 2009-06-11 17:30:50 +00:00
Jonathan Turner
408543645a Revert to r133. Try again 2009-06-11 16:06:09 +00:00
Jonathan Turner
5d4a2901f5 Moving directory 2009-06-11 15:56:18 +00:00
Jonathan Turner
3b220bd4dc Name change from BoxedCPP_System to Dispatch_Engine 2009-06-11 15:52:44 +00:00
Jonathan Turner
e313376a00 Move print to being script-bootstrapped 2009-06-11 13:40:50 +00:00
Jonathan Turner
6b60a5b12c Added initial support for proper function scoping rules 2009-06-11 13:17:31 +00:00
Jonathan Turner
82daa9b63b Work-around for negate and not. Boolean print isn't working 2009-06-11 03:29:42 +00:00
Jonathan Turner
8c689d2017 First, unsuccessful, stab at not and negate 2009-06-11 03:11:05 +00:00
Jonathan Turner
c20502cc81 Corrected identifiers. Corrected lambda example. 2009-06-11 02:17:31 +00:00
Jonathan Turner
d0ff0dc0f1 Added lambdas. Rolled back print bootstrapping for test. Need to figure out right story for polymorphic print at some point. 2009-06-11 02:16:03 +00:00
Jason Turner
72dc27f2da Simple example of adding and dispatching a function variable 2009-06-11 00:58:58 +00:00
Jason Turner
600899ad77 Initial work towards function variables. Existing dispatch works, but lookup of function variables is still untested 2009-06-11 00:32:50 +00:00
Jason Turner
e951356691 Add get_scope and set_scope commands to boxedcpp 2009-06-10 23:48:22 +00:00
Jason Turner
8cfd40671b Reorg some of the bootstrapping that was occuring in wesley 2009-06-10 23:39:34 +00:00
Jonathan Turner
da60cad358 Switching .at and [], added out of bounds exception 2009-06-10 23:32:32 +00:00