45 Commits

Author SHA1 Message Date
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
Jason Turner
9366c223a8 Add some bootstrapping of known types and operators 2009-05-27 03:52:46 +00:00
Jason Turner
ee46b63f95 Add code for dumping all registered types / functions 2009-05-27 03:27:38 +00:00
Jason Turner
a8ba63277e Moved typelesscpp into boxedcpp 2009-05-27 01:12:39 +00:00
Jason Turner
079f3478f8 Rename scripting_* files to something a bit more appropriate 2009-05-27 01:05:47 +00:00
Jonathan Turner
6a608f995a Starting to stand up the parser using std::pair 2009-05-26 22:39:55 +00:00
Jonathan Turner
8f6f4b81db Build fix. Needed to add include paths to build 2009-05-26 20:20:07 +00:00
Jonathan Turner
7f628d9130 Working up parser combinators 2009-05-26 20:17:42 +00:00
Jason Turner
8138b19390 Make better version of param list builder and make all function related concepts variadic templates via boost::pp 2009-05-26 19:03:09 +00:00
Jason Turner
1980ba840c Add support for getting command argument types as a vector 2009-05-26 17:49:03 +00:00
Jonathan Turner
5424b6be41 Added line counting to lexer. 2009-05-26 16:59:29 +00:00
Jonathan Turner
304198b9bb Added typelesscpp_test to cmake 2009-05-26 01:19:58 +00:00
Jason Turner
7e549e25dd Initial check-in of typelesscpp directory 2009-05-26 00:01:49 +00:00
Jonathan Turner
ee8eb8773a Added quoted string, single quoted string, and comma lexing 2009-05-25 20:15:19 +00:00
Jonathan Turner
b1a48f47a3 Couple changes to get it to compile in new file layout 2009-05-25 18:53:44 +00:00
Jonathan Turner
23fc75ca52 Initial check-in of langkit 2009-05-25 18:52:01 +00:00