Commit Graph

717 Commits

Author SHA1 Message Date
yhirose
81d7593ea1 Removed 'reduce' from SemanticValues. 2015-03-05 21:59:54 -05:00
yhirose
4d65fc4c56 Removed 'before/after' handlers. 2015-03-05 17:50:19 -05:00
yhirose
0fa6af3cd5 Added additional 'map' functions. 2015-03-04 18:26:11 -05:00
yhirose
fb42532c7c Removed the code to cache the user data. 2015-03-04 14:49:58 -05:00
yhirose
22b02f0c0b Updated README. 2015-03-03 22:08:18 -05:00
yhirose
4e79b2de95 Added 'named capture'. Changed to cache user data. 2015-03-03 22:04:14 -05:00
yhirose
fd90882894 Improved SemanticValue interface. 2015-03-03 21:51:28 -05:00
yhirose
1fc0a6819e Updated public interface. 2015-03-02 21:52:09 -05:00
yhirose
9fee7187fb Clean up. 2015-03-02 17:36:10 -05:00
yhirose
d5e28fff94 Fixed performance problem. 2015-03-02 17:35:55 -05:00
yhirose
d93a007ef0 Moved 'choice' property to SemanticValues. 2015-02-26 22:40:00 -05:00
yhirose
8016f4f0bb Allow UTF8 characters. 2015-02-26 22:06:54 -05:00
yhirose
7ccaf4257c Supporting the packrat parsing... 2015-02-26 21:32:26 -05:00
yhirose
a860218d4f Working on the parckrat parsing support. 2015-02-26 08:27:05 -05:00
yhirose
b19d37f052 Improving performance... 2015-02-25 19:31:00 -05:00
yhirose
90fbf9b541 Fixed problem with file size 0. 2015-02-25 19:29:42 -05:00
yhirose
4f7686cf79 Fixed problem with std::is_same. 2015-02-23 10:04:25 -05:00
yhirose
7a81ced514 Added csv.peg. 2015-02-22 22:48:41 -05:00
yhirose
64e7274b1d Added octal/hex number support. 2015-02-22 22:23:08 -05:00
yhirose
16a61f2cf8 Updated documentation. 2015-02-21 23:23:59 -05:00
yhirose
895414a234 Added calc3.cc. (AST version) 2015-02-21 23:19:54 -05:00
yhirose
3d3af85bc7 Changed the semantic values interface. 2015-02-21 19:38:30 -05:00
yhirose
cf574074c4 Modified documentation and the calc sample. 2015-02-19 22:51:04 -05:00
yhirose
681c754302 Added 'usr' operator. 2015-02-19 22:27:47 -05:00
yhirose
59153dfdbd Fixed compiler warning. 2015-02-19 19:52:00 -05:00
yhirose
42c9d06221 Code cleanup. 2015-02-19 19:51:38 -05:00
yhirose
69b82ba92b Fixed incorrect include guard string. 2015-02-19 07:54:15 -05:00
yhirose
261f8f463b Added 'const SemanticValues&` action. 2015-02-18 22:28:57 -05:00
yhirose
f87ae01d3b Removed mmap.h dependency. Close #1. 2015-02-18 21:18:20 -05:00
yhirose
f7e7e308ed Changed to allow 'mutable' lambda function as semantic action. Closed #2. 2015-02-18 19:41:18 -05:00
yhirose
6cc1534257 Fixed problem in unit test. 2015-02-18 19:36:27 -05:00
yhirose
9c872e2d5d Added 'ignore' operator. 2015-02-18 18:00:11 -05:00
yhirose
56daf08d5b Changed the capture operator and made the anchor operator. 2015-02-17 22:35:07 -05:00
yhirose
f0351a9909 Fixed sample. 2015-02-15 22:21:18 -05:00
yhirose
f7eca8eac5 Updated documentation. 2015-02-15 20:22:34 -05:00
yhirose
d2ad29359e Added 'anchor' support. Removed implecit cast operators from 'any'. 2015-02-15 20:11:02 -05:00
yhirose
81ca85cba5 Added simple interface. 2015-02-15 17:52:39 -05:00
yhirose
4c5fd70503 Removed the name vector and added the context data in semantic action. 2015-02-14 19:02:54 -05:00
yhirose
0643f44b03 Changed 'match' back to 'parse'. 2015-02-14 12:58:17 -05:00
yhirose
8441a1f104 Fixed documentation. 2015-02-14 10:38:15 -05:00
yhirose
e6673afa0e Added bad cast check. 2015-02-14 10:20:19 -05:00
yhirose
3f639e37f0 Changed the interfaces. 2015-02-14 10:13:10 -05:00
yhirose
6e8ea2b471 Changed interface of parse in Definition. 2015-02-14 08:52:52 -05:00
yhirose
09ce72b25e Added grammar generator. 2015-02-13 22:41:17 -05:00
yhirose
5976051070 Renamed Match to Result. 2015-02-13 21:43:50 -05:00
yhirose
4b2d2f8c36 Updated .gitignore. 2015-02-12 22:14:48 -05:00
yhirose
4282498f6c Fixed problems with peglint. 2015-02-12 22:14:28 -05:00
yhirose
05fa8c4424 Corrected documentation. 2015-02-12 21:11:09 -05:00
yhirose
e52b1586be Updated documentation. 2015-02-12 21:08:58 -05:00
yhirose
9c9c03346b Added peglint. 2015-02-12 19:54:43 -05:00