Commit Graph

121 Commits

Author SHA1 Message Date
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
Jonathan Turner
50f60304f0 Allow shorter form for loop with missing first param 2009-06-08 15:30:02 +00:00
Jonathan Turner
5752ef0667 Added prelim for loop support 2009-06-08 15:12:33 +00:00
Jonathan Turner
674f6cb4ce Quick array inits 2009-06-08 14:33:40 +00:00
Jason Turner
db6fe9134f Fix some bootstrapping of types and add more type support 2009-06-08 04:41:13 +00:00
Jason Turner
2fa615974c Add generic vector support and example code for working with 2009-06-07 15:54:07 +00:00
Jason Turner
0ae57833aa Add default and copy constructors for bootstrapped types 2009-06-07 14:13:10 +00:00
Jonathan Turner
cb2d221201 Commented out superfluous debug 2009-06-07 01:34:29 +00:00
Jonathan Turner
e64a1f6f68 Oops, fixed lhs array lookup 2009-06-07 01:31:07 +00:00
Jonathan Turner
98d3fa9fb2 Adding var decls for now 2009-06-07 01:23:40 +00:00
Jason Turner
1c334064e8 operator= support in bootstrap code 2009-06-07 00:57:29 +00:00
Jason Turner
af221b611d Basic support for std::vector and related fixes 2009-06-07 00:00:46 +00:00
Jonathan Turner
4c317f5861 Improved array lookup 2009-06-06 23:08:15 +00:00
Jonathan Turner
90c1b1347d Adding simple array lookup 2009-06-06 22:57:11 +00:00
Jonathan Turner
e0af874078 Fixed up scope-diving equation. 2009-06-06 16:52:35 +00:00
Jonathan Turner
9ca43e6290 Added wesley samples 2009-06-06 16:35:37 +00:00
Jason Turner
99b84c0fab Attempt to add a set_object method for scoping rules 2009-06-06 16:35:26 +00:00
Jason Turner
ed114102bc Add registration for /=, -= and += operators 2009-06-06 16:14:59 +00:00
Jonathan Turner
a27af663fe Fixed compound equations to have the correct ordering 2009-06-06 16:03:47 +00:00
Jonathan Turner
b8eb887ac9 Trying to debug compound equation operators 2009-06-06 15:56:47 +00:00
Jason Turner
df41d7abe6 Many cleanups to bootstrapping process and function registration 2009-06-06 15:51:43 +00:00
Jonathan Turner
92f834da73 Added integer/real support 2009-06-06 15:37:36 +00:00
Jason Turner
19582e5679 Fixed / operator 2009-06-05 23:56:57 +00:00
Jonathan Turner
4cf95bbf9c Added scope new/push to wesley 2009-06-05 22:57:13 +00:00
Jason Turner
1dbaa4062c Add the beginnings of a scope system 2009-06-05 22:39:49 +00:00
Jonathan Turner
2a4b1acfd1 Added string comparisons 2009-06-05 18:48:34 +00:00