Skip to content

Commit 8293447

Browse files
committed
Readme: update version number in setup instruction.
1 parent 663d8c2 commit 8293447

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For general information about PEGs, see [the original paper](https://dl.acm.org/
1515

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

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

2020
### Note
2121

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

220220
```swift
221221
dependencies: [
222-
.package(url: "https://github.com/kareman/Patterns.git", .branch("master")),
222+
.package(url: "https://github.com/kareman/Patterns.git", from: "0.1.0"),
223223
]
224224
```
225225

226226
or choose “Add Package Dependency” from within Xcode.
227227

228228
## Implementation
229229

230-
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).
230+
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).
231231

232232
## Contributing
233233

0 commit comments

Comments
 (0)