Commit Graph

533 Commits

Author SHA1 Message Date
hvellyr
546942e389 Make use of \u2190 char optional
VS2010 is not capable of compiling source code with chars beyond the
"current code page" reliably.
2016-06-01 16:27:24 +02:00
hvellyr
1e47348daf Fix compiler warnings about "missing variable declaration" 2016-06-01 16:27:24 +02:00
hvellyr
8363407768 Fix compiler warnings about "hidden" names 2016-06-01 16:27:24 +02:00
hvellyr
15ce11b594 Fix compiler warning about missing "name" parameter 2016-06-01 16:27:24 +02:00
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
5d3d63cf11 Provide explicit copy operator declaration to avoid compiler warning 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
f62a726166 Avoid C++14 feature in peglib.h
... which allows to use peglib.h in a C++11 only environment.
2016-06-01 16:27:24 +02:00
hvellyr
86f903b65e Fix compiler warning about unnecessary ";"
... on clang-3.7
2016-06-01 16:27:23 +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
hvellyr
af2b04c733 Remove example app not existing in source code 2016-05-29 23:20:16 +02:00
yhirose
80f822ac59 Fix token problem in AST 2016-01-24 11:12:50 -05: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
9ce4597ef6 Merge branch 'master' of https://github.com/yhirose/cpp-peglib 2015-12-31 19:44:02 -05:00
yhirose
91fe3b755c Code cleanup. 2015-12-31 19:42:14 -05:00
yhirose
50ea1858c1 Added unit test for missing rules. 2015-12-31 19:41:37 -05:00
yhirose
b7d114a82a Merge pull request #18 from g40/VS2013
VS2013 requires return type for auto
2015-12-08 13:01:44 -05:00
Jerry Evans
be0ad37263 VS2013 requires return type for auto 2015-12-08 16:46:31 +00:00
yhirose
fe9141fd0f Removed noexcept. 2015-12-07 17:33:10 -05:00
yhirose
21f555639e Code cleanup. 2015-12-06 23:01:27 -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
bbd7699c81 Merge pull request #13 from g40/master
Fix a couple of typos in readme
2015-12-02 12:25:26 -05:00
Jerry Evans
a34822aed6 Fix a couple of typos in readme 2015-12-02 16:58:45 +00:00
yhirose
69ede706f0 Fixed build errors. Switched to CMake build system completely. 2015-11-30 17:26:06 -05:00
yhirose
30da6961d4 Updated usage for peglint. 2015-11-29 23:19:09 -05:00
yhirose
8ce03face0 Added README for PEG lint. 2015-11-29 23:16:51 -05:00
yhirose
f33e76249a Added trace feature. 2015-11-29 23:07:02 -05:00
yhirose
1ac16f3184 Fixed incorrect semantic values with NotPredicate. 2015-11-29 13:07:06 -05:00
yhirose
80d1488b42 Fixed ast dump format problem. 2015-11-29 11:06:28 -05:00
yhirose
59c7ab94ac Fixed the build error with peglint. 2015-11-29 10:26:27 -05:00
yhirose
795c84e007 Merge pull request #10 from g40/master
Add VS2013 to readme
2015-11-28 09:23:19 -05:00
Jerry Evans
543c124311 Merge pull request #2 from g40/g40-patch-1
Update readme
2015-11-28 13:04:42 +00:00
Jerry Evans
eb8d497200 Update readme
Vs2013 PS5 works as expected
2015-11-28 13:03:54 +00:00
Jerry Evans
c90688caf6 Update README.md
VS2013 works just fine
2015-11-28 12:59:52 +00:00
Yuji Hirose
8fd93d855f Moved 'online lint' functionality to peglint. 2015-11-27 15:53:32 -05:00
Yuji Hirose
3f5d54f811 Removed print_ast, and added ast_to_s. 2015-11-27 15:32:17 -05:00
Yuji Hirose
444398d1bb Added server mode. 2015-11-27 14:24:24 -05:00
Yuji Hirose
adcd259268 Changed to show AST results. 2015-11-27 13:36:27 -05:00
yhirose
98c6f7d6d6 Updated README. 2015-11-26 16:59:58 -05:00
yhirose
a7444fa83b Fixed #8. 2015-11-26 16:48:00 -05:00
yhirose
37dfcbf860 Updated README. 2015-11-26 16:48:00 -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
862740079e Merge pull request #7 from g40/stdmin
Parenthesize std::min for windows.h macro collision avoidance.
2015-11-26 12:08:30 -05:00
Jerry Evans
05ac20f799 Parenthesize std::min for windows.h macro collision avoidance. 2015-11-26 12:45:01 +00:00