yhirose
ff3d947fd4
Added optimize_ast
8 years ago
yhirose
6b63bd48af
Added peg::udl for 'tag' user defined literal.
8 years ago
Hirose
1520849708
Updated README.md
8 years ago
Hirose
13b5b8c45b
Updated README.
8 years ago
yhirose
3e9852c8bd
Added documentation for Ubuntu.
8 years ago
Hirose
1661d3fd91
Fixed README.md
8 years ago
yhirose
21934dd1ce
Fixed #22 .
8 years ago
yhirose
5e67fcb329
Added AppVeyor buidl badge on README.
8 years ago
yhirose
803335164d
Changed minimum target to be 'c++11'.
8 years ago
yhirose
7ef51f6acb
Merge pull request #21 from hvellyr/master
...
Supporting CI on windows (using appveyor) and more compiler warning fixes
8 years ago
hvellyr
f98f8697c6
Add test support for windows MSVC 2015 on appveyor
...
- build the code with source and execution charset set to utf-8 (required
for unicode chars in the source code)
- Example/culebra/linenoise.hpp requires being build with UNICODE on windows
The WIN32 part of that code actually is written against wchar support
only (e.g. wsprintf, wcstol, ...); but some pieces requires the UNICODE def
being set explicitely (e.g. GetEnvironmentVariable).
- don't build lint and language subfolders on windows at all (for now)
8 years ago
hvellyr
e562f51f63
No need for pthread lib in examples and tests
8 years ago
hvellyr
45db14ebd7
Don't treat warnings as errors
8 years ago
hvellyr
bc9234a25f
Fix compiler warning about reserved identifier
...
Warning was (on clang-3.7):
/Users/gck/dev/cpp-peglib/test/../peglib.h:9:9: warning: macro name is a
reserved identifier [-Wreserved-id-macro]
#define _CPPPEGLIB_PEGLIB_H_
8 years ago
hvellyr
f764e9a85d
Fix warning about loss of precission
8 years ago
hvellyr
58b0669e55
Remove left over c++1y definition desturbing MSVC
8 years ago
hvellyr
47f8eb171c
Fix compiler warnings about incomplete override functions
...
The warning on VS2013 was:
warning C4266: 'void peg::Ope::Visitor::visit(peg::Whitespace &)' : no
override available for virtual member function from base
'peg::Ope::Visitor'; function is hidden
I'm surprised that this warning doesn't happen on gcc/clang though.
8 years ago
yhirose
b07573e64f
Added the travis-ci build badge.
8 years ago
yhirose
fd150264a5
Updated README
8 years ago
yhirose
7b78a1c00f
Removed 'user defined rule' feature.
8 years ago
yhirose
23a827d35d
Merge pull request #20 from hvellyr/master
...
A number of fixes for compiler warnings
8 years ago
hvellyr
d76d29b4fd
Build and test on travis
8 years ago
hvellyr
546942e389
Make use of \u2190 char optional
...
VS2010 is not capable of compiling source code with chars beyond the
"current code page" reliably.
8 years ago
hvellyr
1e47348daf
Fix compiler warnings about "missing variable declaration"
8 years ago
hvellyr
8363407768
Fix compiler warnings about "hidden" names
8 years ago
hvellyr
15ce11b594
Fix compiler warning about missing "name" parameter
8 years ago
hvellyr
2b2b171cbd
Fix sign/unsigned compiler warnings
8 years ago
hvellyr
5cac962f18
Fix compiler warning about "old style cast"
8 years ago
hvellyr
5d3d63cf11
Provide explicit copy operator declaration to avoid compiler warning
8 years ago
hvellyr
d95cef6c1b
Fix compiler warnings about unused method parameters
8 years ago
hvellyr
f62a726166
Avoid C++14 feature in peglib.h
...
... which allows to use peglib.h in a C++11 only environment.
8 years ago
hvellyr
86f903b65e
Fix compiler warning about unnecessary ";"
...
... on clang-3.7
8 years ago
hvellyr
c3c6037241
Enhance CMake files to set warning level high(er) and set C++14 flags
8 years ago
hvellyr
d0c6cd55ad
Enabling testing in the CMakeList
...
... which allows to use "make test" and/or "ctest -V"
8 years ago
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.
8 years ago
hvellyr
af2b04c733
Remove example app not existing in source code
8 years ago
yhirose
80f822ac59
Fix token problem in AST
9 years ago
yhirose
ae400aa218
Supported `←`.
9 years ago
yhirose
5b88443270
Major change in the way to handle token boundary.
9 years ago
yhirose
9ce4597ef6
Merge branch 'master' of https://github.com/yhirose/cpp-peglib
9 years ago
yhirose
91fe3b755c
Code cleanup.
9 years ago
yhirose
50ea1858c1
Added unit test for missing rules.
9 years ago
yhirose
b7d114a82a
Merge pull request #18 from g40/VS2013
...
VS2013 requires return type for auto
9 years ago
Jerry Evans
be0ad37263
VS2013 requires return type for auto
9 years ago
yhirose
fe9141fd0f
Removed noexcept.
9 years ago
yhirose
21f555639e
Code cleanup.
9 years ago
yhirose
568bf15ed3
Fixed problems with the %whitespace rule.
9 years ago
yhirose
a9cea16325
Renamed 'before/after' to 'enter/exit'.
9 years ago
yhirose
bbd7699c81
Merge pull request #13 from g40/master
...
Fix a couple of typos in readme
9 years ago
Jerry Evans
a34822aed6
Fix a couple of typos in readme
9 years ago