Commit Graph

726 Commits

Author SHA1 Message Date
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
yhirose
d2f2108fc5 Updated README 2020-04-09 12:25:55 -04:00
yhirose
95f9140464 clangformat 2020-03-29 17:03:47 -04: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
yhirose
02db0405f3
Merge pull request #94 from pwuertz/patch-2
Fix for u8 char C++20 incompatibility
2020-03-26 12:19:37 -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
e362ce7423
Merge pull request #93 from alex-87/master
Update CMakeLists.txt
2020-03-15 18:40:27 -04:00
Alexis LG
8cdc32d79b
Update CMakeLists.txt
Adding "install" to CMake
2020-03-15 19:37:42 +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
e7d05e4ce6 Updated wasm 2020-02-18 17:46:28 -05:00
yhirose
270304ab88 Added build.sh for wasm 2020-02-18 17:43:35 -05:00
yhirose
b8fd40dea3
Merge pull request #91 from yhirose/dictionary
Dictionary feature #90
2020-02-11 18:04:33 -05:00
yhirose
5b3d95e0a1 Fix #90 2020-02-11 16:50:26 -05:00
yhirose
3ea5a1fe3a Updated README 2020-02-09 21:00:30 -05:00
yhirose
846736b882 Updated README 2020-02-08 19:28:39 -05:00
yhirose
2c7d94761f Updated README 2020-02-07 21:52:54 -05:00
yhirose
16a746bb87 Updated LICENCE 2020-02-07 18:53:31 -05:00
yhirose
e1322f1ec2 Updated README 2020-02-07 18:49:51 -05:00
yhirose
f3c6f7d9c1 Updated .wasm 2020-02-07 17:44:37 -05:00
yhirose
375794e344 Support expression parsing in macro 2020-02-07 17:36:47 -05:00
yhirose
4b25458012
Merge pull request #89 from yhirose/precedence
Expression parsing support (precedence climbing)
2020-02-07 14:26:13 -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
9b89b19949 Updated README and examples 2020-02-07 11:55:21 -05:00
yhirose
038bc06343 Precedence climbing feature support 2020-02-07 10:58:34 -05:00
yhirose
29cd967975 Updated .wasm 2020-02-06 15:01:37 -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
748e82dae0
Merge pull request #88 from yhirose/trace
Improved peglint trace format
2020-01-29 11:54:41 -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
35d2d201e1 Updated CmakeLists.txt for test 2020-01-26 22:36:34 -05:00
yhirose
3b968d2595 Disabled pl0 buld due to the linker problem in Travis CI 2020-01-24 23:35:25 -05:00
yhirose
d9f66ead76 Fixed build problem with LLVM 8.0 or lower 2020-01-24 23:06:30 -05:00
yhirose
1a40e539d1 Updated cmake files 2020-01-24 22:54:03 -05:00
yhirose
29974e3c07 Fixed porting error 2020-01-24 21:44:26 -05:00
yhirose
13b8a46e90 Fixed C++11 bulid errors 2020-01-24 21:32:54 -05:00
yhirose
e7b4570841
Merge pull request #86 from yhirose/infiniteloop
Infinite loop detector. Fix #85
2020-01-24 21:20:21 -05:00