Commit Graph

63 Commits

Author SHA1 Message Date
yhirose
5ef7180a12 Update CMake related files 2024-06-17 13:03:53 -04:00
yhirose
4e305b423b Added example/choice.cc 2024-01-17 10:53:33 -05:00
Josh Soref
65ccaaa7c3
Spelling (#287)
* spelling: bracket

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: build

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: commandline

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: debugging

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: definition

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: editing

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: editors

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: github

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: grammar

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: multiplicative

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: optimization

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: optimize

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: semicolon

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

* spelling: whitespace

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

---------

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-01-02 08:44:45 -05:00
yhirose
dc1a054cf2 Added more examples in example/CMakeLists.txt 2023-07-11 15:35:56 -04:00
yhirose
17e069fbc5 Fixed build wornings 2023-03-25 08:42:56 -04:00
yhirose
0861c0065e Fix #242 2022-09-03 07:09:31 -04:00
yhirose
c9090b6661
Resolve #234 (#244) 2022-09-02 23:47:55 -04:00
yhirose
5934f0abba Resolve #228 2022-07-01 22:15:21 -04:00
yhirose
23c080af49 Removed peg::parse_error and introduced predicate action 2022-07-01 15:05:04 -04:00
yhirose
199f788ad8 Added example/indent.cc 2022-04-02 08:12:48 -04:00
yhirose
0aec248de3 Changed to use gtest 2021-08-19 02:29:11 -04:00
yhirose
80b20a091f Resolve #137 2021-01-21 20:56:05 -05:00
yhirose
b26e2477ff C++17 support 2020-11-09 13:18:38 -05:00
yhirose
fdfd1f4267 Fixed warnings 2020-03-29 17:01:46 -04:00
yhirose
9b89b19949 Updated README and examples 2020-02-07 11:55:21 -05:00
yhirose
1a40e539d1 Updated cmake files 2020-01-24 22:54:03 -05:00
Francesco Guastella
1afa4988bc Replace peg::any with std::any (when C++17 is available) 2019-11-22 13:25:42 +01:00
yhirose
ebfafc3947 Removed Visual Studio solution and project files. 2017-08-25 09:05:12 -04:00
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)
2016-06-07 11:51:12 +02:00
hvellyr
e562f51f63 No need for pthread lib in examples and tests 2016-06-07 11:51:12 +02:00
hvellyr
5cac962f18 Fix compiler warning about "old style cast" 2016-06-01 16:27:24 +02:00
hvellyr
c3c6037241 Enhance CMake files to set warning level high(er) and set C++14 flags 2016-06-01 16:27:23 +02:00
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.
2016-06-01 16:27:23 +02:00
hvellyr
af2b04c733 Remove example app not existing in source code 2016-05-29 23:20:16 +02:00
yhirose
5b88443270 Major change in the way to handle token boundary. 2016-01-23 22:07:25 -05:00
yhirose
69ede706f0 Fixed build errors. Switched to CMake build system completely. 2015-11-30 17:26:06 -05:00
Yuji Hirose
8fd93d855f Moved 'online lint' functionality to peglint. 2015-11-27 15:53:32 -05:00
yhirose
33978023cf Added automatic whitespace skipping feature. 2015-11-26 16:48:00 -05:00
yhirose
337741e17e Fixed build errors. 2015-08-27 22:26:34 -04:00
yhirose
b9c9216788 Changed namespace/class names. 2015-08-10 16:37:56 -04:00
yhirose
d834a7c4ce Changed to use C++ raw string. 2015-08-06 23:09:37 -04:00
yhirose
4238617393 Moving files. 2015-08-05 08:59:25 -04:00
yhirose
21a72abfe2 Code cleanup. 2015-08-04 23:26:02 -04:00
yhirose
aa78055654 Fixed problem with AST. 2015-08-04 11:27:37 -04:00
yhirose
5022bef3d7 Added symbol table to PL/0. 2015-08-03 17:53:35 -04:00
yhirose
5e237895f8 Code cleanup. 2015-07-31 21:30:21 -04:00
yhirose
65d1d99b2b Added AstOptimizer. 2015-07-31 13:06:31 -04:00
yhirose
dba1c42826 Fixed a warning message. 2015-07-30 18:47:13 -04:00
yhirose
38ac34d1ad Added PL/0 sample. 2015-07-30 17:26:06 -04:00
yhirose
bca3785c89 Converted vcxproj files for vc++ 2015. 2015-07-29 17:57:43 -04:00
yhirose
42156c35f3 Simplefiled API. 2015-06-16 00:25:01 -04:00
yhirose
427bbda5a7 Retab calc3.cc. 2015-06-14 08:06:09 -04:00
yhirose
46470071f3 Removed optional parameter from enable_ast(). 2015-06-12 18:12:54 -04:00
yhirose
682417b410 Removed 'typedef Definition rule'. 2015-06-05 08:54:02 -04:00
yhirose
e56062715a Improved AST support. 2015-06-04 11:41:14 -04:00
yhirose
e8a016267f Added calc3.vcxproj. 2015-03-25 22:33:22 -04:00
yhirose
6c59c02ea9 Updated documentation and examples. 2015-03-11 13:53:24 -04:00
yhirose
e30b4a281f Name refactoring. 2015-03-09 14:58:43 -04:00
yhirose
81d7593ea1 Removed 'reduce' from SemanticValues. 2015-03-05 21:59:54 -05:00
yhirose
fd90882894 Improved SemanticValue interface. 2015-03-03 21:51:28 -05:00