mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-03-16 17:00:53 +00:00
commit
3dd9b2c157
@ -61,10 +61,10 @@ build = "build.rs" # LALRPOP preprocessing
|
||||
|
||||
# Add a dependency on the LALRPOP runtime library:
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.10.0"
|
||||
version = "0.11.0"
|
||||
|
||||
[build-dependencies.lalrpop]
|
||||
version = "0.10.0"
|
||||
version = "0.11.0"
|
||||
```
|
||||
|
||||
And create a `build.rs` file that looks like:
|
||||
|
@ -1,4 +1,6 @@
|
||||
# Version 0.11 (not yet released)
|
||||
# Version 0.12 (not yet released)
|
||||
|
||||
# Version 0.11
|
||||
|
||||
Updated to use the `regex-syntax` crate for regular expression
|
||||
parsing instead of rolling our own parser. This means we can now
|
||||
|
@ -1,11 +1,11 @@
|
||||
[package]
|
||||
name = "calculator"
|
||||
version = "0.10.0"
|
||||
version = "0.11.0"
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
build = "build.rs" # <-- We added this and everything after!
|
||||
|
||||
[build-dependencies]
|
||||
lalrpop = "0.10.0"
|
||||
lalrpop = "0.11.0"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = "0.10.0"
|
||||
lalrpop-util = "0.11.0"
|
||||
|
@ -147,15 +147,15 @@ look something like:
|
||||
```
|
||||
[package]
|
||||
name = "calculator"
|
||||
version = "0.10.0"
|
||||
version = "0.11.0"
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
build = "build.rs" # <-- We added this and everything after!
|
||||
|
||||
[build-dependencies]
|
||||
lalrpop = "0.10.0"
|
||||
lalrpop = "0.11.0"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = "0.10.0"
|
||||
lalrpop-util = "0.11.0"
|
||||
```
|
||||
|
||||
Adding a `build` directive to the `[package]` section tells Cargo to
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lalrpop-intern"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
description = "Simple string interner used by LALRPOP"
|
||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||
license = "Apache-2.0/MIT"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lalrpop-snap"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
description = "snapshot of LALRPOP for use in bootstrapping"
|
||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||
license = "Apache-2.0/MIT"
|
||||
@ -19,8 +19,8 @@ rand = "0.3"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
path = "../lalrpop-util"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
|
||||
[dependencies.lalrpop-intern]
|
||||
path = "../lalrpop-intern"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lalrpop-test"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
license = "Apache-2.0/MIT"
|
||||
build = "build.rs"
|
||||
|
@ -3,5 +3,5 @@ name = "lalrpop-util"
|
||||
description = "Runtime library for parsers generated by LALRPOP"
|
||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||
license = "Apache-2.0/MIT"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lalrpop"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
description = "convenient LR(1) parser generator"
|
||||
repository = "https://github.com/nikomatsakis/lalrpop"
|
||||
readme = "../README.md"
|
||||
@ -32,15 +32,15 @@ rand = "0.3"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
path = "../lalrpop-util"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
|
||||
[dependencies.lalrpop-intern]
|
||||
path = "../lalrpop-intern"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
|
||||
[build-dependencies.lalrpop-snap]
|
||||
path = "../lalrpop-snap"
|
||||
version = "0.10.0" # LALRPOP
|
||||
version = "0.11.0" # LALRPOP
|
||||
|
||||
# Enable codegen units: this is probably not the optimal way to do it,
|
||||
# but codegen units helps a lot with compiling lrgrammar.rs (I think).
|
||||
|
Loading…
x
Reference in New Issue
Block a user