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 |
|
Jason Turner
|
277fa83742
|
Add an example of registering a dynamic function
|
2009-05-28 01:14:18 +00:00 |
|
Jonathan Turner
|
ab3b9e2fe7
|
Added a couple notes to the larger sample
|
2009-05-27 21:42:34 +00:00 |
|
Jonathan Turner
|
891650b97d
|
Added new ast nodes when new_id != -1
|
2009-05-27 21:39:35 +00:00 |
|
Jonathan Turner
|
2ca701aa32
|
Lots of small bugfixes re:parser. pimpl now works with ast keep and new_id
|
2009-05-27 21:01:56 +00:00 |
|
Jonathan Turner
|
10491e4ed8
|
A few small improvements to helper functions
|
2009-05-27 20:01:34 +00:00 |
|
Jonathan Turner
|
f6f6a8305e
|
Sugared operators and helper functions starting to work
|
2009-05-27 19:56:05 +00:00 |
|
Jonathan Turner
|
7c42ab79bf
|
The parser is coming alive. Now can successfully parse And and Or rules
|
2009-05-27 18:19:00 +00:00 |
|
Jonathan Turner
|
421a616924
|
Inch by inch, getting closer to working out what the parser needs
|
2009-05-27 17:42:54 +00:00 |
|
Jason Turner
|
3dfe1fb8bd
|
Try and fix jon's print problem
|
2009-05-27 17:05:42 +00:00 |
|
Jason Turner
|
100b38f14e
|
Add virtual destructors where necessary
|
2009-05-27 16:47:45 +00:00 |
|
Jonathan Turner
|
4f8ffd0129
|
Re-enabled boxedcpp, but commented out trouble area
|
2009-05-27 15:15:24 +00:00 |
|
Jonathan Turner
|
74338670fa
|
Re-enable And_Rule in parser. Disable boxedcpp in cmake until compiler errors fixed.
|
2009-05-27 15:11:09 +00:00 |
|
Jonathan Turner
|
332fdf0c8e
|
Switch Token to smart pointer
|
2009-05-27 15:07:29 +00:00 |
|
Jason Turner
|
fbb9534601
|
Provide some cleaner examples and some additional bootstrapped functions
|
2009-05-27 13:30:17 +00:00 |
|
Jonathan Turner
|
6538008172
|
Added filenames to tokens, removed from File_Position
|
2009-05-27 11:46:15 +00:00 |
|