Commit Graph

56 Commits

Author SHA1 Message Date
Yuji Hirose
47e51d3651 Fixed problems in server mode of peglint 2019-02-08 11:36:29 -05:00
yhirose
469a61f044 Fixed 'std::call_once' crash problem with peglint on Ubuntu. 2018-09-01 16:05:00 +00:00
Yuji Hirose
91bf45b7d4 Fix #45 2018-08-30 13:34:09 -04:00
yhirose
15a08da1b2 Updated peglint and added peglint documentation 2018-08-03 23:47:25 -04:00
yhirose
f46737acbf Added --source option 2018-08-02 20:51:11 -04:00
yhirose
ebfafc3947 Removed Visual Studio solution and project files. 2017-08-25 09:05:12 -04:00
yhirose
803335164d Changed minimum target to be 'c++11'. 2016-06-08 22:17:07 -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
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
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
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
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
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
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
337741e17e Fixed build errors. 2015-08-27 22:26:34 -04:00
yhirose
b9c9216788 Changed namespace/class names. 2015-08-10 16:37:56 -04:00
yhirose
6b690dd3cb Fixed backtrack problem. 2015-08-05 22:52:08 -04:00
yhirose
2b2a4f3816 Moved files. 2015-08-05 10:28:07 -04:00
yhirose
aa78055654 Fixed problem with AST. 2015-08-04 11:27:37 -04:00
yhirose
de1f7ebad6 Fixed snprintf compile error with VS2015. 2015-08-04 11:26:41 -04:00
yhirose
02957c3668 Fixed build errors. 2015-07-31 19:07:20 -04:00
Yuji Hirose
56ebcf09bf Fixed source code format. 2015-07-30 07:52:58 -04:00
yhirose
0ddb5682af Code cleanup. 2015-07-29 21:48:44 -04:00
yhirose
bca3785c89 Converted vcxproj files for vc++ 2015. 2015-07-29 17:57:43 -04:00
yhirose
5079d3406a Added XMLHttpRequest Level2 support. 2015-07-17 21:52:46 -04:00
yhirose
43aae85df3 Style change. 2015-07-17 21:52:30 -04:00
Yuji Hirose
698d04a3ca Fixed compile error on Raspberry PI. 2015-07-16 20:21:26 -04:00
yhirose
f70da10d79 Fixed problem with Webkit. 2015-07-16 20:18:46 -04:00
yhirose
85932059b9 Added peglint playground. 2015-07-15 17:26:01 -04:00
yhirose
341659f699 Added optimize_nodes parameter. 2015-06-12 14:09:23 -04:00
yhirose
1a9fddd3f8 Added AST and command line string features in peglint. 2015-06-12 13:45:58 -04:00
yhirose
e40117b44c Removed unused file from project. 2015-05-19 10:50:42 -04:00
yhirose
7d17f7ce8d Fixed error message problem. 2015-03-11 17:49:08 -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
90fbf9b541 Fixed problem with file size 0. 2015-02-25 19:29:42 -05:00