280 Commits

Author SHA1 Message Date
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
Jason Turner
1a42a06df4 Fix semantic error in string comparisons 2009-06-05 16:14:33 +00:00
Jason Turner
37a36f783c Add arity registration for dynamic functions 2009-06-05 16:12:21 +00:00
Jonathan Turner
5799d7f0ef Improved error reporting 2009-06-05 14:46:07 +00:00
Jonathan Turner
61136c7808 Function definitions and dispatch on name. Allowed blank spaces in source files 2009-06-05 13:39:32 +00:00
Jason Turner
00a5f32a46 Update "add_two" example to get generic 2009-06-05 13:15:58 +00:00
Jonathan Turner
42b4891969 Fix blocks so they may optionally span lines 2009-06-05 12:27:20 +00:00
Jonathan Turner
937b4e0e87 Added exception throws if condition isn't boolean 2009-06-05 12:23:55 +00:00
Jonathan Turner
a8fb111275 Fixed or boolean. Let if block return value (that makes sense), but keep while void. 2009-06-05 12:08:36 +00:00
Jonathan Turner
e804f16e7b Couple grammar bugfixes for booleans. Made if/while return void. 2009-06-05 12:05:37 +00:00
Jonathan Turner
3f4aed0db9 Added booleans. Add if/elseif/else and while blocks. Added more comparisons. 2009-06-05 11:45:57 +00:00
Jonathan Turner
5d1bae709a Removing poetry mode 2009-06-05 03:35:28 +00:00
Jason Turner
995bcdba85 Fixed some new gcc gripes about non-const char* for strings 2009-06-05 02:48:19 +00:00
Jason Turner
995116acb4 Fix bug with operator== bootstrapping 2009-06-05 02:36:16 +00:00
Jonathan Turner
00430e4592 Experimenting with adding comparisons 2009-06-04 15:28:45 +00:00
Jonathan Turner
8f89e44608 Trying to add function definitions, but not quite there 2009-06-04 13:27:04 +00:00
Jonathan Turner
53301ccb66 Added equations w/ BoxedCPP interaction 2009-06-04 11:56:19 +00:00
Jonathan Turner
a304254270 Fix to execute all scripts passed on commandline 2009-06-03 20:55:17 +00:00
Jonathan Turner
44d37e5c79 Added poetry method calls (this is not official by any stretch) and REPL print val 2009-06-03 20:16:53 +00:00
Jonathan Turner
470c5e30b7 Added very simple universal function call syntax (method sugar) 2009-06-03 19:12:13 +00:00
Jonathan Turner
ea1b1b925a Some cleanups in the evaluator. Added paren and negate evals. 2009-06-03 13:00:46 +00:00
Jonathan Turner
d984f973f4 Added 'wesley' project. Added eval. Fixed some of the parsers to do correct delegation 2009-06-02 23:29:04 +00:00
Jonathan Turner
fc3b9de2d2 Flipped shift operator direction to match spirit 2009-06-01 19:18:55 +00:00
Jonathan Turner
f0088d8ade Bugfixes for multiline comments to properly preserve column and to span multiple lines 2009-06-01 19:11:27 +00:00
Jonathan Turner
ccc3a506dd A couple touchups to the parser to get the root node to include filename 2009-06-01 15:26:46 +00:00
Jonathan Turner
cca021c8c4 Fixed operator regex to allow for C-style comments. Reenabeld debug output 2009-06-01 13:44:18 +00:00
Jonathan Turner
307e557e5b Added comment lexing. Removed previous optimization. Flattened lex grammar. 2009-06-01 13:40:24 +00:00
Jonathan Turner
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. 2009-05-31 11:57:29 +00:00
Jason Turner
6bcc424630 More stl bootstrapping help 2009-05-30 21:20:52 +00:00
Jason Turner
4585f22a58 Begin stubbing in of stl container bootstrapping. Vectors are partially implemented 2009-05-30 15:50:23 +00:00
Jason Turner
280ec06a8c Break out bootstrapping code into a separate file 2009-05-30 14:49:10 +00:00
Jonathan Turner
6a9c5ee57f Added command delimiters 2009-05-30 13:01:52 +00:00
Jonathan Turner
adea19b2a3 Cleaned up constructors and corrected missing defaults. 2009-05-29 17:59:13 +00:00
Jonathan Turner
22654b5754 Added nop operator to prevent incorrect aliasing 2009-05-29 16:04:31 +00:00
Jonathan Turner
14be974fb0 Fix a few crashers with And_Rule, Kleene_Rule, Plus_Rule, and Optional_Rule 2009-05-29 02:58:05 +00:00
Jonathan Turner
4921d9a89e Enabling testing from the root 2009-05-29 02:24:55 +00:00
Jason Turner
72ae292a43 Added basic support for boost unit testing 2009-05-28 22:56:57 +00:00
Jason Turner
6d4ec204b0 Add some more operator action 2009-05-28 22:08:11 +00:00
Jonathan Turner
bf7fba3646 Moving project files into subdirs 2009-05-28 18:13:06 +00:00
Jason Turner
f77eb930ed Add new simpler example to show dispatching of renamed functions 2009-05-28 14:19:14 +00:00
Jonathan Turner
af9bd41221 Added Kleene star, plus, and optional 2009-05-28 12:49:17 +00:00
Jason Turner
5f6ec9521b Add more boxedcpp testing and documentation 2009-05-28 01:51:17 +00:00