yhirose
05053f62ea
Imporoved playground UI design
2022-06-04 15:13:13 -04:00
yhirose
8f19894e32
Updated playground to show profiling result
2022-06-03 19:25:49 -04:00
yhirose
ad74d9e8c0
Refactoring
2022-06-03 18:42:44 -04:00
yhirose
b49604997b
Removed IsOpeType
2022-06-02 22:31:52 -04:00
yhirose
34a859a6a1
Added profile feature ( Resolve #200 )
2022-06-02 22:15:09 -04:00
yhirose
26877dc456
Refactoring
2022-06-02 16:33:07 -04:00
yhirose
bd99157bb5
Fix #206
2022-06-02 15:42:03 -04:00
yhirose
89f40ce7a6
Improved error report for literal string with %word
2022-05-29 00:54:59 -04:00
yhirose
9768721b2b
Code format
2022-05-27 21:52:13 -04:00
yhirose
959128ec0f
Fixed #202 again
2022-05-27 21:48:12 -04:00
yhirose
0ada38acec
Updated concise trace mode
2022-05-27 17:36:25 -04:00
yhirose
d53f4ecca3
Added verbose trace flag in peglint
2022-05-27 00:04:05 -04:00
yhirose
3c745bf581
Fix #205
2022-05-26 21:41:35 -04:00
yhirose
7ee4fccb95
Fix #202
2022-05-26 21:33:23 -04:00
yhirose
cd1da19062
Fix #197
2022-05-06 16:39:21 -04:00
yhirose
187ac4849a
Added '\f' and '\v'
2022-05-06 15:23:29 -04:00
yhirose
23436e1fcc
Fix #195
2022-05-04 23:26:36 -04:00
yhirose
82fd01f3d1
Allow more than one instruction
2022-04-02 08:10:39 -04:00
yhirose
b85606ce2e
Performance improvement
2022-01-06 22:59:24 -05:00
yhirose
578eec705c
Fix #187
2022-01-03 11:23:41 -05:00
yhirose
4d67d96d7a
Changed parse_error to derive from std::runtime_error
2021-10-11 00:36:51 -04:00
SpaceIm
780bbe5d6c
Fix https://github.com/yhirose/cpp-peglib/issues/167 ( #168 )
2021-04-07 10:05:17 -04:00
yhirose
73242b26c4
Revert "Fix #167 "
...
This reverts commit ef10e7c5dd
.
2021-04-07 08:54:42 -04:00
yhirose
ef10e7c5dd
Fix #167
2021-04-07 08:44:53 -04:00
yhirose
a9f7572a6c
Fixed Infinite loop 9 problem
2021-03-30 20:59:17 -04:00
Elliot
3d68799d9c
fix #162 ( #163 )
...
* fix unreachable code warning when <charconv> header is present
* update macro name
2021-03-30 14:28:44 -04:00
yhirose
b5ee8c19df
Fix #161
2021-03-29 14:25:11 -04:00
yhirose
b491a20c2a
Fix #159
2021-03-28 15:57:02 -04:00
yhirose
b85d8c89ce
Fix #158
2021-03-17 09:48:43 -04:00
yhirose
495541484c
Fix #147
2021-03-17 09:46:11 -04:00
yhirose
45fb3d4f3b
Fix #156 ( #157 )
2021-03-13 20:49:24 -05:00
yhirose
54b14aa4d9
Code cleanup
2021-03-08 13:56:22 -05:00
yhirose
9660853a68
Changed 'unreferenced rule' not to be reported as error, but warning
2021-03-05 16:53:25 -05:00
yhirose
e26a9e88f5
Allow literal operators in infix expression
2021-03-04 19:31:31 -05:00
yhirose
a248d8689e
Added unreferenced rules check
2021-03-02 08:30:17 -05:00
yhirose
73a058d4d9
Fixed char
-> int
conversion problem
2021-02-08 16:23:45 -05:00
yhirose
8643927c99
Fixed error report problems
2021-02-04 10:45:18 -05:00
yhirose
23b284d0a3
Code cleanup
2021-01-28 19:21:59 -05:00
Nicholas Smith
15aa1380de
Remove charconv requirement ( #142 )
...
* Remove charconv requirement
It's the most restrictive compiler requirement (gcc 8.1, clang 7)
* Use has_include preprocessor function
2021-01-28 19:04:23 -05:00
yhirose
6f73b76c5f
Fix #141
2021-01-27 13:03:13 -05:00
yhirose
d2a2eb3cf6
Cut operator support
2021-01-26 13:45:04 -05:00
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
yhirose
9bdb577aaf
Split test.cc
2020-02-07 13:56:08 -05:00
yhirose
038bc06343
Precedence climbing feature support
2020-02-07 10:58:34 -05:00
yhirose
b0c4aa1441
Apply clang-format
2020-02-05 14:10:00 -05:00
yhirose
9679cdcc27
Removed search method
2020-01-29 22:48:00 -05:00
yhirose
fe2d67fc88
Improved peglint trace format
2020-01-29 11:36:19 -05:00
yhirose
7d00be396b
Performance improvements
2020-01-28 15:52:23 -05:00
yhirose
2180657eea
Added Negated Characgter Class
2020-01-27 00:44:00 -05:00
yhirose
3dc0205ffa
Handle an invalid escape sequence char
2020-01-26 23:07:12 -05:00
yhirose
13b8a46e90
Fixed C++11 bulid errors
2020-01-24 21:32:54 -05:00