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
Jason Turner
4d56cffb26
add += support for strings
2009-06-10 23:22:31 +00:00
Jonathan Turner
e3966eeae1
Removed legacy concat_string
2009-06-10 23:15:18 +00:00
Jonathan Turner
4739d67c89
Moved how Return exceptions were handled into evaluate_string. General file cleanups
2009-06-10 21:47:21 +00:00
Jonathan Turner
a66905b292
A couple small refactorings
2009-06-10 21:37:49 +00:00
Jonathan Turner
79685559df
Removed obsolated langkit_parser.cpp
2009-06-10 21:33:57 +00:00
Jonathan Turner
460146bdb7
Moved wesley to header-only
2009-06-10 21:33:22 +00:00
Jonathan Turner
52039d7b45
First step in moving to all-header implementation
2009-06-10 18:44:10 +00:00
Jonathan Turner
bdb1c76b7f
Small change to allow embedded equations
2009-06-10 18:25:50 +00:00
Jonathan Turner
2bd05ccb76
Fix to equals sign, so that it dispatches
2009-06-10 15:15:35 +00:00
Jonathan Turner
9c1eeb52e7
Fixes to the grammar to prevent endless loops on unmatched strings. Corrections to grammar for cleanliness
2009-06-10 14:58:35 +00:00
Jonathan Turner
e7a0bf70fd
Renamed 'Nop' to 'Epsilon' to match spirit. Debugged non-moving parsers. Added 'Wrap' rule that will allow a Rule to wrap a single other Rule and get a tree for the node.
2009-06-10 14:10:15 +00:00
Jason Turner
c4e3328bb1
Support reassignment of undefined Boxed_Values
2009-06-10 04:57:42 +00:00
Jonathan Turner
53c3e2ee25
Added break and return statements. Fixed inner block parsing
2009-06-09 13:16:11 +00:00
Jason Turner
dba0f3ed7a
Attempt to fix jon's problem with POD type support
2009-06-09 03:33:34 +00:00
Jason Turner
88708aaf7b
Build smarter operators for POD types
2009-06-09 03:12:59 +00:00
Jonathan Turner
3483b14c2b
Improved eval and error handling
2009-06-08 18:13:44 +00:00
Jonathan Turner
71af6162a1
Added eval
2009-06-08 16:58:12 +00:00
Jonathan Turner
23c1908917
Added prefix increment and decrement. Debugging: off
2009-06-08 15:49:44 +00:00
Jonathan Turner
b76b1b8c21
Partial prefix and negate checking. Debugging: on
2009-06-08 15:45:05 +00:00