Commit Graph

415 Commits

Author SHA1 Message Date
yhirose
0388e3e6c4 Moved PL/0 sample directory 2017-08-08 07:06:37 -04:00
yhirose
7c1e1751d9 Added LLVM support to PL/0 sample 2017-08-07 23:44:28 -04:00
yhirose
7c24c30104 Applied clang-format 2017-08-04 07:03:44 -04:00
yhirose
bb0c7c4522 Fixed 'uninitialized variable' problem in PL/0 interpreter 2017-08-03 22:56:12 -04:00
yhirose
41e3360483 Working in progress on fixing travis-ci error. 2017-06-19 14:04:44 -04:00
yhirose
a85d18da91 Working in progress on fixing travis-ci error... 2017-06-19 13:33:40 -04:00
yhirose
746c259d64 Fixed problem with .travis.yml (WIP) 2017-06-19 10:21:10 -04:00
yhirose
14c0651f1f Removed language/culebra 2017-06-08 23:17:15 +09:00
yhirose
deac9d4c42 Code cleanup 2017-06-08 23:03:21 +09:00
yhirose
79f4d90c19 Code cleanup. 2017-04-14 21:57:28 -04:00
yhirose
ff3d947fd4 Added optimize_ast 2017-03-28 22:50:05 -04:00
yhirose
6b63bd48af Added peg::udl for 'tag' user defined literal. 2017-03-25 18:28:15 -04:00
Hirose
1520849708 Updated README.md 2017-01-11 16:50:12 -05:00
Hirose
13b5b8c45b Updated README. 2016-11-23 16:16:00 -05:00
yhirose
3e9852c8bd Added documentation for Ubuntu. 2016-11-17 08:40:59 -05:00
Hirose
1661d3fd91 Fixed README.md 2016-11-01 08:17:13 -04:00
yhirose
21934dd1ce Fixed #22. 2016-10-27 20:28:03 -04:00
yhirose
5e67fcb329 Added AppVeyor buidl badge on README. 2016-06-08 22:35:50 -04:00
yhirose
803335164d Changed minimum target to be 'c++11'. 2016-06-08 22:17:07 -04:00
yhirose
7ef51f6acb Merge pull request #21 from hvellyr/master
Supporting CI on windows (using appveyor) and more compiler warning fixes
2016-06-07 22:04:46 -04:00
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)
2016-06-07 11:51:12 +02:00
hvellyr
e562f51f63 No need for pthread lib in examples and tests 2016-06-07 11:51:12 +02:00
hvellyr
45db14ebd7 Don't treat warnings as errors 2016-06-07 11:51:12 +02:00
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_
2016-06-07 11:51:11 +02:00
hvellyr
f764e9a85d Fix warning about loss of precission 2016-06-07 11:51:07 +02:00
hvellyr
58b0669e55 Remove left over c++1y definition desturbing MSVC 2016-06-07 11:51:03 +02:00
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.
2016-06-07 11:50:56 +02:00
yhirose
b07573e64f Added the travis-ci build badge. 2016-06-02 18:01:07 -04:00
yhirose
fd150264a5 Updated README 2016-06-02 17:52:21 -04:00
yhirose
7b78a1c00f Removed 'user defined rule' feature. 2016-06-02 17:52:21 -04:00
yhirose
23a827d35d Merge pull request #20 from hvellyr/master
A number of fixes for compiler warnings
2016-06-01 17:52:49 -04:00
hvellyr
d76d29b4fd Build and test on travis 2016-06-01 16:27:24 +02:00
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