Skip to content

Commit 06fc879

Browse files
committed
Removed server mode from peglint and updated documentation
1 parent cc053fd commit 06fc879

File tree

6 files changed

+7
-2910
lines changed

6 files changed

+7
-2910
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ cpp-peglib
44
[![Build Status](https://travis-ci.org/yhirose/cpp-peglib.svg?branch=master)](https://travis-ci.org/yhirose/cpp-peglib)
55
[![Bulid Status](https://ci.appveyor.com/api/projects/status/github/yhirose/cpp-peglib?branch=master&svg=true)](https://ci.appveyor.com/project/yhirose/cpp-peglib)
66

7-
C++11 header-only [PEG](http://en.wikipedia.org/wiki/Parsing_expression_grammar) (Parsing Expression Grammars) library.
7+
C++11 header-only [PEG](http://en.wikipedia.org/wiki/Parsing_expression_grammar) (Parsing Expression Grammars) library. You can start using it right away just by including `peglib.h` in your project.
88

9-
*cpp-peglib* tries to provide more expressive parsing experience in a simple way. This library depends on only one header file. So, you can start using it right away just by including `peglib.h` in your project.
9+
You can also try the online version at https://yhirose.github.io/cpp-peglib.
1010

1111
The PEG syntax is well described on page 2 in the [document](http://www.brynosaurus.com/pub/lang/peg.pdf). *cpp-peglib* also supports the following additional syntax for now:
1212

@@ -433,7 +433,7 @@ peglint - PEG syntax lint utility
433433
> cmake ..
434434
> make
435435
> ./peglint
436-
usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--source text] [--server [PORT]] [--trace] [grammar file path] [source file path]
436+
usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--source text] [--trace] [grammar file path] [source file path]
437437
```
438438

439439
### Lint grammar

lint/CMakeLists.txt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
cmake_minimum_required(VERSION 2.8)
22
include_directories(..)
33
add_definitions("-std=c++11")
4-
add_executable(peglint peglint.cc server.cc)
5-
6-
if(WIN32)
7-
target_link_libraries(peglint wsock32 ws2_32)
8-
endif()
9-
10-
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
11-
#set(add_link_deps pthread)
12-
target_link_libraries(peglint pthread)
13-
endif()
4+
add_executable(peglint peglint.cc)

lint/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ peglint
44
The lint utility for PEG.
55

66
```
7-
usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--server [PORT]] [--trace] [grammar file path] [source file path]
7+
usage: peglint [--ast] [--optimize_ast_nodes|--opt] [--trace] [grammar file path] [source file path]
88
```

0 commit comments

Comments
 (0)