yhirose
217d551744
Use std::string_view in peg::parser
2021-01-22 09:16:42 -05:00
yhirose
80b20a091f
Resolve #137
2021-01-21 20:56:05 -05:00
yhirose
9dfbbc5671
Fix #136
2021-01-20 20:48:28 +00:00
yhirose
1c00fa77fa
Fixed warnings
2021-01-19 12:03:06 -05:00
yhirose
ac602d5542
Fixed more infinite loop grammar problems
2021-01-18 17:55:45 -05:00
yhirose
f560ceca97
Added unexpected token place holder %t
2021-01-18 15:26:54 -05:00
yhirose
0f4feff175
Fix syntax error position problem
2021-01-16 14:39:14 -05:00
yhirose
6171d3bf6e
Code format
2021-01-15 23:37:27 -05:00
yhirose
4540874e7e
Fixed macro reference problem with reference arguments
2021-01-15 23:36:01 -05:00
yhirose
0dab91d8d9
Throw operator support
2021-01-15 20:19:43 -05:00
yhirose
d4aa6e7df5
Error message support
2021-01-15 19:27:31 -05:00
yhirose
1442e3e21f
Unicode char support
2021-01-15 17:27:35 -05:00
yhirose
8ad71c4adc
Fixed problem with %recover
2021-01-15 16:51:36 -05:00
yhirose
0d005fb3da
FIxed problems with error recovery
2021-01-15 00:05:22 -05:00
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
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
b3b29ce8f3
Fix #122
2020-08-07 13:42:51 -04:00
yhirose
0061f393de
Fix #121
2020-08-07 10:21:47 -04:00
yhirose
aefeb3ae35
Fix #118
2020-06-20 12:20:52 +00: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
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
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
ffc61e8a68
Removed unnecessary code
2020-06-02 09:15:45 -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
19c6c2615c
Name refactoring
2020-05-25 17:31:22 -04:00
yhirose
10cc75d503
Performance improvement. Close #82
2020-05-18 01:47:12 -04:00
yhirose
ffbc58c103
Changed order of parameters in AstBase constructors
2020-05-11 21:58:30 -04:00
yhirose
51ed96c8f2
Fixed warning with enum value in switch statement
2020-04-18 21:12:55 -04:00
Patrick Scheibe
4abf5a5332
Fix missing return statement in lambda
2020-04-10 20:56:02 +02:00
yhirose
fdfd1f4267
Fixed warnings
2020-03-29 17:01:46 -04:00
yhirose
c416d84fea
Regex-like repetition support. Fix #95
2020-03-28 22:56:17 -04:00
Peter Würtz
2561fd182d
Fix for u8 char C++20 incompatibility
...
C++20 apparently doesn't allow std::string construction from u8 literals any more.
The pre-20 behavior is restored by explicitly casting the new `char_8_t` back to `char`.
2020-03-26 09:42:58 +01:00
yhirose
f2fda77f5a
Fixed warnings
2020-02-25 11:34:19 -05:00
yhirose
1b19b98cf5
Fixed problem with dictinary
2020-02-25 11:34:04 -05:00
yhirose
5b3d95e0a1
Fix #90
2020-02-11 16:50:26 -05:00
yhirose
375794e344
Support expression parsing in macro
2020-02-07 17:36:47 -05:00
yhirose
5a6bd1a60a
Fixed vim setting
2020-02-07 13:56:39 -05:00