Commit Graph

170 Commits

Author SHA1 Message Date
hvellyr
2b2b171cbd Fix sign/unsigned compiler warnings 2016-06-01 16:27:24 +02:00
hvellyr
5cac962f18 Fix compiler warning about "old style cast" 2016-06-01 16:27:24 +02:00
hvellyr
d95cef6c1b Fix compiler warnings about unused method parameters 2016-06-01 16:27:24 +02:00
hvellyr
c3c6037241 Enhance CMake files to set warning level high(er) and set C++14 flags 2016-06-01 16:27:23 +02:00
hvellyr
d0c6cd55ad Enabling testing in the CMakeList
... which allows to use "make test" and/or "ctest -V"
2016-06-01 16:27:23 +02:00
hvellyr
b031727fa2 Cmake 2.8 is more than sufficient
... for the purposes of this project and makes testing on older
platforms easier.  In addition travis-ci has by default only cmake
2.8.
2016-06-01 16:27:23 +02:00
yhirose
ae400aa218 Supported . 2016-01-23 22:15:15 -05:00
yhirose
5b88443270 Major change in the way to handle token boundary. 2016-01-23 22:07:25 -05:00
yhirose
50ea1858c1 Added unit test for missing rules. 2015-12-31 19:41:37 -05:00
yhirose
568bf15ed3 Fixed problems with the %whitespace rule. 2015-12-03 18:59:12 -05:00
yhirose
a9cea16325 Renamed 'before/after' to 'enter/exit'. 2015-12-02 22:52:18 -05:00
yhirose
69ede706f0 Fixed build errors. Switched to CMake build system completely. 2015-11-30 17:26:06 -05:00
yhirose
33978023cf Added automatic whitespace skipping feature. 2015-11-26 16:48:00 -05:00
yhirose
49c81a5f59 Added more unit tests. 2015-11-26 16:46:37 -05:00
yhirose
5b9daaf090 Restored before/after handlers. 2015-11-17 06:10:32 -05:00
yhirose
b9c9216788 Changed namespace/class names. 2015-08-10 16:37:56 -04:00
yhirose
a3cfd1b8ad Handled UTF-8 codes from 0x80 as valid identifier codes. 2015-08-08 20:30:05 -04:00
yhirose
6b690dd3cb Fixed backtrack problem. 2015-08-05 22:52:08 -04:00
yhirose
315121e149 Upgrade vcxproj to 2015. 2015-08-04 13:05:16 -04:00
yhirose
02957c3668 Fixed build errors. 2015-07-31 19:07:20 -04:00
yhirose
e778187df8 Fixed crash. 2015-07-30 18:47:27 -04:00
yhirose
c9b5f0ac3b Added str() in SemanticValues. 2015-06-16 00:43:08 -04:00
yhirose
42156c35f3 Simplefiled API. 2015-06-16 00:25:01 -04:00
yhirose
2aa60699be Simplefied code. 2015-06-15 23:26:49 -04:00
yhirose
0744fa75f6 Removed parameter from enable_packrat_parsing. 2015-06-15 21:29:33 -04:00
yhirose
9765e095ab Added semantic predicate support. 2015-06-15 16:07:25 -04:00
yhirose
4eab716a6a Fixed User rule problem. 2015-06-15 13:47:59 -04:00
yhirose
c2e19cfd01 Added definition duplicates check. 2015-06-13 00:57:45 -04:00
yhirose
67de659288 Added left recursice detection. 2015-06-13 00:38:38 -04:00
yhirose
b5eec078aa Commented out the current 'predicate feature' implementation. 2015-06-12 18:57:58 -04:00
yhirose
50768de875 Added Ignore operator. 2015-06-12 18:52:26 -04:00
yhirose
fdf10521c6 Added a unit test. 2015-06-12 18:13:20 -04:00
yhirose
927ecc5c37 Fixed build error. 2015-06-12 15:27:55 -04:00
yhirose
05ca1961b4 Added token check logic. 2015-06-05 13:28:38 -04:00
yhirose
37fe8bd1ff Fixed build errors. 2015-06-05 11:51:45 -04:00
yhirose
682417b410 Removed 'typedef Definition rule'. 2015-06-05 08:54:02 -04:00
yhirose
ab3d8b0d0e Code cleanup and fixed build error. 2015-06-04 19:06:37 -04:00
yhirose
e56062715a Improved AST support. 2015-06-04 11:41:14 -04:00
yhirose
2badaa40a0 Cleanup code format. 2015-05-19 09:07:27 -04:00
yhirose
738fe53e39 Fixed number parsing problem. 2015-04-25 08:11:06 +09:00
yhirose
8bac879ff9 Added the predicate control feature. 2015-04-08 12:02:26 -04:00
yhirose
faa70f1f37 Updated the 'catch' c++ unit test framework. 2015-04-08 12:00:35 -04:00
yhirose
e30b4a281f Name refactoring. 2015-03-09 14:58:43 -04:00
yhirose
4e79b2de95 Added 'named capture'. Changed to cache user data. 2015-03-03 22:04:14 -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
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
64e7274b1d Added octal/hex number support. 2015-02-22 22:23:08 -05:00
yhirose
3d3af85bc7 Changed the semantic values interface. 2015-02-21 19:38:30 -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
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
0643f44b03 Changed 'match' back to 'parse'. 2015-02-14 12:58:17 -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
f9c6a67ea6 Added simple error handling code. 2015-02-12 19:48:58 -05:00
yhirose
4202e6d111 Changed to allow simpler notation in actions. 2015-02-11 20:31:11 -05:00
yhirose
8acb0e2822 Changed to be able to associate actions to the prioritized choice. 2015-02-11 19:48:55 -05:00
yhirose
5a16f53a71 Fixed backtracking problem with the prioritized choice. 2015-02-09 20:13:46 -05:00
yhirose
d386f2f3b9 Major refactoring. 2015-02-09 17:12:59 -05:00
yhirose
9cb926f7a0 Work in progress. 2015-02-09 12:01:59 -05:00
yhirose
56304269d0 Fixd build errors on Visual Studio 2013. 2015-02-09 08:25:53 -05:00
yhirose
1ad9e73d67 Uploaded files. 2015-02-07 20:52:26 -05:00