Commit Graph

  • 31cf022989 First step of new move attempt Jonathan Turner 2009-06-11 17:37:27 +00:00
  • 2044da1dc6 Removing stale first attempt Jonathan Turner 2009-06-11 17:30:50 +00:00
  • 408543645a Revert to r133. Try again Jonathan Turner 2009-06-11 16:06:09 +00:00
  • 5d4a2901f5 Moving directory Jonathan Turner 2009-06-11 15:56:18 +00:00
  • 3b220bd4dc Name change from BoxedCPP_System to Dispatch_Engine Jonathan Turner 2009-06-11 15:52:44 +00:00
  • e313376a00 Move print to being script-bootstrapped Jonathan Turner 2009-06-11 13:40:50 +00:00
  • 6b60a5b12c Added initial support for proper function scoping rules Jonathan Turner 2009-06-11 13:17:31 +00:00
  • 82daa9b63b Work-around for negate and not. Boolean print isn't working Jonathan Turner 2009-06-11 03:29:42 +00:00
  • 8c689d2017 First, unsuccessful, stab at not and negate Jonathan Turner 2009-06-11 03:11:05 +00:00
  • c20502cc81 Corrected identifiers. Corrected lambda example. Jonathan Turner 2009-06-11 02:17:31 +00:00
  • d0ff0dc0f1 Added lambdas. Rolled back print bootstrapping for test. Need to figure out right story for polymorphic print at some point. Jonathan Turner 2009-06-11 02:16:03 +00:00
  • 72dc27f2da Simple example of adding and dispatching a function variable Jason Turner 2009-06-11 00:58:58 +00:00
  • 600899ad77 Initial work towards function variables. Existing dispatch works, but lookup of function variables is still untested Jason Turner 2009-06-11 00:32:50 +00:00
  • e951356691 Add get_scope and set_scope commands to boxedcpp Jason Turner 2009-06-10 23:48:22 +00:00
  • 8cfd40671b Reorg some of the bootstrapping that was occuring in wesley Jason Turner 2009-06-10 23:39:34 +00:00
  • da60cad358 Switching .at and [], added out of bounds exception Jonathan Turner 2009-06-10 23:32:32 +00:00
  • 4d56cffb26 add += support for strings Jason Turner 2009-06-10 23:22:31 +00:00
  • e3966eeae1 Removed legacy concat_string Jonathan Turner 2009-06-10 23:15:18 +00:00
  • 4739d67c89 Moved how Return exceptions were handled into evaluate_string. General file cleanups Jonathan Turner 2009-06-10 21:47:21 +00:00
  • a66905b292 A couple small refactorings Jonathan Turner 2009-06-10 21:37:49 +00:00
  • 79685559df Removed obsolated langkit_parser.cpp Jonathan Turner 2009-06-10 21:33:57 +00:00
  • 460146bdb7 Moved wesley to header-only Jonathan Turner 2009-06-10 21:33:22 +00:00
  • 52039d7b45 First step in moving to all-header implementation Jonathan Turner 2009-06-10 18:44:10 +00:00
  • bdb1c76b7f Small change to allow embedded equations Jonathan Turner 2009-06-10 18:25:50 +00:00
  • 2bd05ccb76 Fix to equals sign, so that it dispatches Jonathan Turner 2009-06-10 15:15:35 +00:00
  • 9c1eeb52e7 Fixes to the grammar to prevent endless loops on unmatched strings. Corrections to grammar for cleanliness Jonathan Turner 2009-06-10 14:58:35 +00:00
  • 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. Jonathan Turner 2009-06-10 14:10:15 +00:00
  • c4e3328bb1 Support reassignment of undefined Boxed_Values Jason Turner 2009-06-10 04:57:42 +00:00
  • 53c3e2ee25 Added break and return statements. Fixed inner block parsing Jonathan Turner 2009-06-09 13:16:11 +00:00
  • dba0f3ed7a Attempt to fix jon's problem with POD type support Jason Turner 2009-06-09 03:33:34 +00:00
  • 88708aaf7b Build smarter operators for POD types Jason Turner 2009-06-09 03:12:59 +00:00
  • 3483b14c2b Improved eval and error handling Jonathan Turner 2009-06-08 18:13:44 +00:00
  • 71af6162a1 Added eval Jonathan Turner 2009-06-08 16:58:12 +00:00
  • 23c1908917 Added prefix increment and decrement. Debugging: off Jonathan Turner 2009-06-08 15:49:44 +00:00
  • b76b1b8c21 Partial prefix and negate checking. Debugging: on Jonathan Turner 2009-06-08 15:45:05 +00:00
  • 50f60304f0 Allow shorter form for loop with missing first param Jonathan Turner 2009-06-08 15:30:02 +00:00
  • 5752ef0667 Added prelim for loop support Jonathan Turner 2009-06-08 15:12:33 +00:00
  • 674f6cb4ce Quick array inits Jonathan Turner 2009-06-08 14:33:40 +00:00
  • db6fe9134f Fix some bootstrapping of types and add more type support Jason Turner 2009-06-08 04:41:13 +00:00
  • 2fa615974c Add generic vector support and example code for working with Jason Turner 2009-06-07 15:54:07 +00:00
  • 0ae57833aa Add default and copy constructors for bootstrapped types Jason Turner 2009-06-07 14:13:10 +00:00
  • cb2d221201 Commented out superfluous debug Jonathan Turner 2009-06-07 01:34:29 +00:00
  • e64a1f6f68 Oops, fixed lhs array lookup Jonathan Turner 2009-06-07 01:31:07 +00:00
  • 98d3fa9fb2 Adding var decls for now Jonathan Turner 2009-06-07 01:23:40 +00:00
  • 1c334064e8 operator= support in bootstrap code Jason Turner 2009-06-07 00:57:29 +00:00
  • af221b611d Basic support for std::vector and related fixes Jason Turner 2009-06-07 00:00:46 +00:00
  • 4c317f5861 Improved array lookup Jonathan Turner 2009-06-06 23:08:15 +00:00
  • 90c1b1347d Adding simple array lookup Jonathan Turner 2009-06-06 22:57:11 +00:00
  • e0af874078 Fixed up scope-diving equation. Jonathan Turner 2009-06-06 16:52:35 +00:00
  • 9ca43e6290 Added wesley samples Jonathan Turner 2009-06-06 16:35:37 +00:00
  • 99b84c0fab Attempt to add a set_object method for scoping rules Jason Turner 2009-06-06 16:35:26 +00:00
  • ed114102bc Add registration for /=, -= and += operators Jason Turner 2009-06-06 16:14:59 +00:00
  • a27af663fe Fixed compound equations to have the correct ordering Jonathan Turner 2009-06-06 16:03:47 +00:00
  • b8eb887ac9 Trying to debug compound equation operators Jonathan Turner 2009-06-06 15:56:47 +00:00
  • df41d7abe6 Many cleanups to bootstrapping process and function registration Jason Turner 2009-06-06 15:51:43 +00:00
  • 92f834da73 Added integer/real support Jonathan Turner 2009-06-06 15:37:36 +00:00
  • 19582e5679 Fixed / operator Jason Turner 2009-06-05 23:56:57 +00:00
  • 4cf95bbf9c Added scope new/push to wesley Jonathan Turner 2009-06-05 22:57:13 +00:00
  • 1dbaa4062c Add the beginnings of a scope system Jason Turner 2009-06-05 22:39:49 +00:00
  • 2a4b1acfd1 Added string comparisons Jonathan Turner 2009-06-05 18:48:34 +00:00
  • 1a42a06df4 Fix semantic error in string comparisons Jason Turner 2009-06-05 16:14:33 +00:00
  • 37a36f783c Add arity registration for dynamic functions Jason Turner 2009-06-05 16:12:21 +00:00
  • 5799d7f0ef Improved error reporting Jonathan Turner 2009-06-05 14:46:07 +00:00
  • 61136c7808 Function definitions and dispatch on name. Allowed blank spaces in source files Jonathan Turner 2009-06-05 13:39:32 +00:00
  • 00a5f32a46 Update "add_two" example to get generic Jason Turner 2009-06-05 13:15:58 +00:00
  • 42b4891969 Fix blocks so they may optionally span lines Jonathan Turner 2009-06-05 12:27:20 +00:00
  • 937b4e0e87 Added exception throws if condition isn't boolean Jonathan Turner 2009-06-05 12:23:55 +00:00
  • a8fb111275 Fixed or boolean. Let if block return value (that makes sense), but keep while void. Jonathan Turner 2009-06-05 12:08:36 +00:00
  • e804f16e7b Couple grammar bugfixes for booleans. Made if/while return void. Jonathan Turner 2009-06-05 12:05:37 +00:00
  • 3f4aed0db9 Added booleans. Add if/elseif/else and while blocks. Added more comparisons. Jonathan Turner 2009-06-05 11:45:57 +00:00
  • 5d1bae709a Removing poetry mode Jonathan Turner 2009-06-05 03:35:28 +00:00
  • 995bcdba85 Fixed some new gcc gripes about non-const char* for strings Jason Turner 2009-06-05 02:48:19 +00:00
  • 995116acb4 Fix bug with operator== bootstrapping Jason Turner 2009-06-05 02:36:16 +00:00
  • 00430e4592 Experimenting with adding comparisons Jonathan Turner 2009-06-04 15:28:45 +00:00
  • 8f89e44608 Trying to add function definitions, but not quite there Jonathan Turner 2009-06-04 13:27:04 +00:00
  • 53301ccb66 Added equations w/ BoxedCPP interaction Jonathan Turner 2009-06-04 11:56:19 +00:00
  • a304254270 Fix to execute all scripts passed on commandline Jonathan Turner 2009-06-03 20:55:17 +00:00
  • 44d37e5c79 Added poetry method calls (this is not official by any stretch) and REPL print val Jonathan Turner 2009-06-03 20:16:53 +00:00
  • 470c5e30b7 Added very simple universal function call syntax (method sugar) Jonathan Turner 2009-06-03 19:12:13 +00:00
  • ea1b1b925a Some cleanups in the evaluator. Added paren and negate evals. Jonathan Turner 2009-06-03 13:00:46 +00:00
  • d984f973f4 Added 'wesley' project. Added eval. Fixed some of the parsers to do correct delegation Jonathan Turner 2009-06-02 23:29:04 +00:00
  • fc3b9de2d2 Flipped shift operator direction to match spirit Jonathan Turner 2009-06-01 19:18:55 +00:00
  • f0088d8ade Bugfixes for multiline comments to properly preserve column and to span multiple lines Jonathan Turner 2009-06-01 19:11:27 +00:00
  • ccc3a506dd A couple touchups to the parser to get the root node to include filename Jonathan Turner 2009-06-01 15:26:46 +00:00
  • cca021c8c4 Fixed operator regex to allow for C-style comments. Reenabeld debug output Jonathan Turner 2009-06-01 13:44:18 +00:00
  • 307e557e5b Added comment lexing. Removed previous optimization. Flattened lex grammar. Jonathan Turner 2009-06-01 13:40:24 +00:00
  • f692834fa8 Gave in to premature optimization. Lex regexes are now compiled together and the match is found in the resulting set, instead of incrementally searching for a match. Jonathan Turner 2009-05-31 11:57:29 +00:00
  • 6bcc424630 More stl bootstrapping help Jason Turner 2009-05-30 21:20:52 +00:00
  • 4585f22a58 Begin stubbing in of stl container bootstrapping. Vectors are partially implemented Jason Turner 2009-05-30 15:50:23 +00:00
  • 280ec06a8c Break out bootstrapping code into a separate file Jason Turner 2009-05-30 14:49:10 +00:00
  • 6a9c5ee57f Added command delimiters Jonathan Turner 2009-05-30 13:01:52 +00:00
  • adea19b2a3 Cleaned up constructors and corrected missing defaults. Jonathan Turner 2009-05-29 17:59:13 +00:00
  • 22654b5754 Added nop operator to prevent incorrect aliasing Jonathan Turner 2009-05-29 16:04:31 +00:00
  • 14be974fb0 Fix a few crashers with And_Rule, Kleene_Rule, Plus_Rule, and Optional_Rule Jonathan Turner 2009-05-29 02:58:05 +00:00
  • 4921d9a89e Enabling testing from the root Jonathan Turner 2009-05-29 02:24:55 +00:00
  • 72ae292a43 Added basic support for boost unit testing Jason Turner 2009-05-28 22:56:57 +00:00
  • 6d4ec204b0 Add some more operator action Jason Turner 2009-05-28 22:08:11 +00:00
  • bf7fba3646 Moving project files into subdirs Jonathan Turner 2009-05-28 18:13:06 +00:00
  • f77eb930ed Add new simpler example to show dispatching of renamed functions Jason Turner 2009-05-28 14:19:14 +00:00
  • af9bd41221 Added Kleene star, plus, and optional Jonathan Turner 2009-05-28 12:49:17 +00:00