Skip to content

Commit

Permalink
Added .l+(...) to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bvssvni committed Apr 10, 2021
1 parent 30efc0d commit 15377eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# piston_meta
# Piston-Meta
A DSL parsing library for human readable text documents

[![Travis](https://img.shields.io/travis/PistonDevelopers/meta.svg?style=flat-square)](https://travis-ci.org/PistonDevelopers/meta)
[![Crates.io](https://img.shields.io/crates/v/piston_meta.svg?style=flat-square)](https://crates.io/crates/piston_meta)

[Documentation](https://docs.rs/piston_meta/)

[Why Piston-Meta?](https://github.com/PistonDevelopers/meta/issues/1)

[self-syntax](https://raw.githubusercontent.com/PistonDevelopers/meta/master/assets/self-syntax.txt)

### Introduction

Piston-Meta makes it easy to write parsers for human readable text documents.
Expand Down Expand Up @@ -63,6 +54,7 @@ If you get an error `#4003`, then it was caused by a rule in the node starting w
|Rule|Description|
|----|-----------|
|.l(rule)|Separates sub rule with lines.|
|.l+(rule)|Separates sub rule with lines, with indention (whitespace sensitive)|
|.r?(rule)|Repeats sub rule until it fails, allows zero repetitions.|
|.r!(rule)|Repeats sub rule until it fails, requires at least one repetition.|
|...any_characters?:name|Reads a string until any characters, allows zero characters. Name is optional.|
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
//! |Rule|Description|
//! |----|-----------|
//! |.l(rule)|Separates sub rule with lines.|
//! |.l+(rule)|Separates sub rule with lines, with indention (whitespace sensitive)|
//! |.r?(rule)|Repeats sub rule until it fails, allows zero repetitions.|
//! |.r!(rule)|Repeats sub rule until it fails, requires at least one repetition.|
//! |...any_characters?:name|Reads a string until any characters, allows zero characters. Name is optional.|
Expand Down

0 comments on commit 15377eb

Please sign in to comment.