mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
update README and tutorial
This commit is contained in:
parent
dcce320a88
commit
735eb8779f
@ -65,14 +65,14 @@ build = "build.rs" # LALRPOP preprocessing
|
||||
# needed if you are writing your own tokenizer by
|
||||
# hand (or if you are already using the regex crate)
|
||||
[dependencies.regex]
|
||||
version = "0.2.1"
|
||||
version = "0.13.1"
|
||||
|
||||
# Add a dependency on the LALRPOP runtime library:
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.13.0"
|
||||
version = "0.13.1"
|
||||
|
||||
[build-dependencies.lalrpop]
|
||||
version = "0.13.0"
|
||||
version = "0.13.1"
|
||||
```
|
||||
|
||||
And create a `build.rs` file that looks like:
|
||||
|
@ -151,15 +151,15 @@ look something like:
|
||||
```
|
||||
[package]
|
||||
name = "calculator"
|
||||
version = "0.13.0"
|
||||
version = "0.13.1"
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
build = "build.rs" # <-- We added this and everything after!
|
||||
|
||||
[build-dependencies]
|
||||
lalrpop = "0.13.0"
|
||||
lalrpop = "0.13.1"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = "0.13.0"
|
||||
lalrpop-util = "0.13.1"
|
||||
regex = "0.2.1"
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user