Commit Graph

717 Commits

Author SHA1 Message Date
yhirose
8dc6a287f8 Added error recovery feature 2021-01-13 21:35:47 -05:00
yhirose
befdd27075 Improved error message 2021-01-10 16:02:15 -05:00
yhirose
50aaba73a3 Better error report 2021-01-09 23:28:33 -05:00
yhirose
990dac98cf Changed to use lit("") for empty exp instead of npd(dot()) 2021-01-09 20:35:15 -05:00
yhirose
9ad70096c8 Another infinite loop grammar detection. Fix #133 2021-01-09 15:12:01 -05:00
yhirose
8c68f4cff8 Fixed error report problems 2021-01-08 20:30:40 -05:00
yhirose
222466d07a Revert "Fixed error posision problem in Repetition operator"
This reverts commit 6ed41b0571.
2021-01-08 14:23:58 -05:00
yhirose
6ed41b0571 Fixed error posision problem in Repetition operator 2021-01-08 14:08:33 -05:00
yhirose
847b7e9fe3 Fixed peglint trace token format problem 2021-01-08 14:01:21 -05:00
yhirose
1b68ea3275 Removed Travis CI support 2020-12-19 21:10:28 -05:00
yhirose
78eb383fa1
Merge pull request #124 from yhirose/cpp17
C++17 support
2020-12-19 19:36:33 -05:00
yhirose
b26e2477ff C++17 support 2020-11-09 13:18:38 -05:00
yhirose
b92da07bed Fix #128 2020-11-09 12:06:48 -05:00
yhirose
11ed83e46f Fixed a code example in README 2020-08-26 21:47:19 -04:00
yhirose
b3b29ce8f3 Fix #122 2020-08-07 13:42:51 -04:00
yhirose
d84c2993af Updated peg.vim 2020-08-07 10:21:57 -04:00
yhirose
0061f393de Fix #121 2020-08-07 10:21:47 -04:00
yhirose
14305f9f53 Fix #111 2020-06-20 12:43:15 +00:00
yhirose
aefeb3ae35 Fix #118 2020-06-20 12:20:52 +00:00
yhirose
8e890ced7f
Merge pull request #117 from peoro/master
Fix support to custom AST node types
2020-06-18 10:51:46 -04:00
peoro
ad1a6d27da Fix support to custom AST node types
Fixes #116
2020-06-18 16:17:27 +02:00
yhirose
c49366ad07 Use std::call_once to initialize is_word in LiteralString 2020-06-09 08:48:19 -04:00
yhirose
a2a4f30219 Updated Playground 2020-06-08 23:51:34 -04:00
yhirose
ff9e5d6ea3 Fix #112 2020-06-08 22:55:26 -04:00
yhirose
94578c5274 Fixed possible build errors 2020-06-07 23:52:18 -04:00
yhirose
94c73b1e31
Merge pull request #114 from yhirose/combinators_with_ast
Combinators with AST action handler
2020-06-07 22:08:04 -04:00
yhirose
af8f0082fc Combinators with AST action handler 2020-06-07 21:21:17 -04:00
yhirose
ef9147de08 Fixed crash in Ast action handler 2020-06-07 08:46:49 -04:00
yhirose
feebe2bb0f Added add_ast_action 2020-06-06 23:13:57 -04:00
yhirose
c1f087a91e Added enable_packrat_parsing to precedence expression parsing tests 2020-06-06 22:47:50 -04:00
yhirose
ffc61e8a68 Removed unnecessary code 2020-06-02 09:15:45 -04:00
yhirose
5bd9b5cdc0 Removed version number from Playground 2020-06-01 20:03:27 -04:00
yhirose
580721aa46 Fix #107 2020-06-01 19:50:46 -04:00
yhirose
072cdb6d23 Fix #109 2020-05-31 23:46:46 -04:00
yhirose
f9e0d252d9 Fixed initial value problem with Optimized AST mode 2020-05-26 18:30:19 -04:00
yhirose
19c83811ee Added --opt to peglint 2020-05-25 22:48:42 -04:00
yhirose
19c6c2615c Name refactoring 2020-05-25 17:31:22 -04:00
yhirose
370067f013 Added filters parameter to peglint and playground 2020-05-24 22:18:18 -04:00
yhirose
3c58f26635 Updated 'Semantic predicate test' 2020-05-20 14:08:32 -04:00
yhirose
10cc75d503 Performance improvement. Close #82 2020-05-18 01:47:12 -04:00
yhirose
a37c609802
Merge pull request #105 from XinzhaoZHU/master
Use CMake's Threads library to provide '-pthread` for Linux
2020-05-17 12:07:55 -04:00
Xinzhao Zhu
f58fd19f52 Use CMake's Threads library to provide '-pthread` for Linux
For linux platform, we may use the Threads library to provide
the option `-pthread` when the program uses multiple thread. This
solution is portable for WSL2/Linux and other disturbuiton.
2020-05-17 22:55:56 +08:00
yhirose
ffbc58c103 Changed order of parameters in AstBase constructors 2020-05-11 21:58:30 -04:00
yhirose
49289420b9
Merge pull request #101 from bnjf/patch-1
add explicit `commentstring` to vim syntax
2020-04-25 19:31:37 -04:00
bnjf
8962a80454
add explicit commentstring to vim syntax 2020-04-25 18:52:59 +10:00
yhirose
da123f1cd1
Merge pull request #100 from bnjf/patch-1
Fix "terminate called after throwing an instance of 'std::system_error'"
2020-04-24 11:59:01 -04:00
bnjf
6137e2a340
Fix "terminate called after throwing an instance of 'std::system_error'"
This is a re-fix.  The missing pthread lib was fixed in 469a61f044, but then unfixed in 06fc879371.
2020-04-25 00:52:03 +10:00
yhirose
51ed96c8f2 Fixed warning with enum value in switch statement 2020-04-18 21:12:55 -04:00
yhirose
ab9a09bb88
Merge pull request #99 from halirutan/fix_missing_return_statement
Fix missing return statement in lambda
2020-04-10 21:24:52 -04:00
Patrick Scheibe
4abf5a5332 Fix missing return statement in lambda 2020-04-10 20:56:02 +02:00