yhirose
0861c0065e
Fix #242
2 years ago
yhirose
c9090b6661
Resolve #234 ( #244 )
2 years ago
yhirose
5934f0abba
Resolve #228
2 years ago
yhirose
23c080af49
Removed `peg::parse_error` and introduced `predicate` action
2 years ago
yhirose
199f788ad8
Added example/indent.cc
2 years ago
yhirose
0aec248de3
Changed to use gtest
3 years ago
yhirose
80b20a091f
Resolve #137
3 years ago
yhirose
b26e2477ff
C++17 support
4 years ago
yhirose
fdfd1f4267
Fixed warnings
4 years ago
yhirose
9b89b19949
Updated README and examples
4 years ago
yhirose
1a40e539d1
Updated cmake files
4 years ago
Francesco Guastella
1afa4988bc
Replace peg::any with std::any (when C++17 is available)
5 years ago
yhirose
ebfafc3947
Removed Visual Studio solution and project files.
7 years ago
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)
8 years ago
hvellyr
e562f51f63
No need for pthread lib in examples and tests
8 years ago
hvellyr
5cac962f18
Fix compiler warning about "old style cast"
8 years ago
hvellyr
c3c6037241
Enhance CMake files to set warning level high(er) and set C++14 flags
8 years ago
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.
8 years ago
hvellyr
af2b04c733
Remove example app not existing in source code
8 years ago
yhirose
5b88443270
Major change in the way to handle token boundary.
8 years ago
yhirose
69ede706f0
Fixed build errors. Switched to CMake build system completely.
9 years ago
Yuji Hirose
8fd93d855f
Moved 'online lint' functionality to peglint.
9 years ago
yhirose
33978023cf
Added automatic whitespace skipping feature.
9 years ago
yhirose
337741e17e
Fixed build errors.
9 years ago
yhirose
b9c9216788
Changed namespace/class names.
9 years ago
yhirose
d834a7c4ce
Changed to use C++ raw string.
9 years ago
yhirose
4238617393
Moving files.
9 years ago
yhirose
21a72abfe2
Code cleanup.
9 years ago
yhirose
aa78055654
Fixed problem with AST.
9 years ago
yhirose
5022bef3d7
Added symbol table to PL/0.
9 years ago
yhirose
5e237895f8
Code cleanup.
9 years ago
yhirose
65d1d99b2b
Added AstOptimizer.
9 years ago
yhirose
dba1c42826
Fixed a warning message.
9 years ago
yhirose
38ac34d1ad
Added PL/0 sample.
9 years ago
yhirose
bca3785c89
Converted vcxproj files for vc++ 2015.
9 years ago
yhirose
42156c35f3
Simplefiled API.
9 years ago
yhirose
427bbda5a7
Retab calc3.cc.
9 years ago
yhirose
46470071f3
Removed optional parameter from enable_ast().
9 years ago
yhirose
682417b410
Removed 'typedef Definition rule'.
9 years ago
yhirose
e56062715a
Improved AST support.
9 years ago
yhirose
e8a016267f
Added calc3.vcxproj.
9 years ago
yhirose
6c59c02ea9
Updated documentation and examples.
9 years ago
yhirose
e30b4a281f
Name refactoring.
9 years ago
yhirose
81d7593ea1
Removed 'reduce' from SemanticValues.
9 years ago
yhirose
fd90882894
Improved SemanticValue interface.
9 years ago
yhirose
1fc0a6819e
Updated public interface.
9 years ago
yhirose
b19d37f052
Improving performance...
9 years ago
yhirose
16a61f2cf8
Updated documentation.
9 years ago
yhirose
895414a234
Added calc3.cc. (AST version)
9 years ago
yhirose
3d3af85bc7
Changed the semantic values interface.
9 years ago