Skip to content

Commit

Permalink
Readme: update version number in setup instruction.
Browse files Browse the repository at this point in the history
  • Loading branch information
kareman committed Aug 23, 2020
1 parent 663d8c2 commit 8293447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ For general information about PEGs, see [the original paper](https://dl.acm.org/

![Example of using Patterns in a playground](Playground-screenshot.png)

To try out Patterns in a playground, open Playground/Playground.xcworkspace in Xcode.
To try out Patterns in a playground, open Playground/Playground.xcworkspace in Xcode (does not work in Xcode 12 beta 5 or earlier).

### Note

Expand Down Expand Up @@ -219,15 +219,15 @@ Add this to your `Package.swift` file:

```swift
dependencies: [
.package(url: "https://github.com/kareman/Patterns.git", .branch("master")),
.package(url: "https://github.com/kareman/Patterns.git", from: "0.1.0"),
]
```

or choose “Add Package Dependency” from within Xcode.

## Implementation

Patterns is implemented using a virtual parsing machine, similar to how [LPEG](http://www.inf.puc-rio.br/~roberto/lpeg/) is [implemented](http://www.inf.puc-rio.br/~roberto/docs/peg.pdf). See also the `backtrackingvm` function described [here](https://swtch.com/~rsc/regexp/regexp2.html).
Patterns is implemented using a virtual parsing machine, similar to how [LPEG](http://www.inf.puc-rio.br/~roberto/lpeg/) is [implemented](http://www.inf.puc-rio.br/~roberto/docs/peg.pdf), and the `backtrackingvm` function described [here](https://swtch.com/~rsc/regexp/regexp2.html).

## Contributing

Expand Down

0 comments on commit 8293447

Please sign in to comment.