peg 0.8.5

A simple Parsing Expression Grammar (PEG) parser generator.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: loops infinitely because loop body can match without consuming input
 --> $DIR/nullable_loop.rs:2:27
  |
2 |     rule nested() = ("a"*)* //~ ERROR
  |                           ^

error: loops infinitely because loop body can match without consuming input
 --> $DIR/nullable_loop.rs:8:35
  |
8 |     rule call() = "foo" nullable()* //~ ERROR
  |                                   ^

error: loops infinitely because loop body can match without consuming input
  --> $DIR/nullable_loop.rs:10:44
   |
10 |     rule more_complex() = ("x" / "a"? "b"?)*<2,> //~ ERROR
   |                                            ^