mirror of
https://github.com/fluencelabs/lalrpop
synced 2025-04-25 03:02:15 +00:00
Version 0.18.0
This commit is contained in:
parent
45ae391f3e
commit
df3f428e37
28
Cargo.lock
generated
28
Cargo.lock
generated
@ -128,10 +128,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "calculator"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
dependencies = [
|
||||
"lalrpop 0.17.2",
|
||||
"lalrpop-util 0.17.2",
|
||||
"lalrpop 0.18.0",
|
||||
"lalrpop-util 0.18.0",
|
||||
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
@ -275,7 +275,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lalrpop"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
dependencies = [
|
||||
"ascii-canvas 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@ -284,7 +284,7 @@ dependencies = [
|
||||
"docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lalrpop-util 0.17.2",
|
||||
"lalrpop-util 0.18.0",
|
||||
"petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@ -299,17 +299,17 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lalrpop-test"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
dependencies = [
|
||||
"diff 0.1.11 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lalrpop 0.17.2",
|
||||
"lalrpop-util 0.17.2",
|
||||
"lalrpop 0.18.0",
|
||||
"lalrpop-util 0.18.0",
|
||||
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "lalrpop-util"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
dependencies = [
|
||||
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@ -399,8 +399,8 @@ name = "pascal"
|
||||
version = "0.11.0"
|
||||
dependencies = [
|
||||
"docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"lalrpop 0.17.2",
|
||||
"lalrpop-util 0.17.2",
|
||||
"lalrpop 0.18.0",
|
||||
"lalrpop-util 0.18.0",
|
||||
"regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@ -772,10 +772,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
|
||||
[[package]]
|
||||
name = "whitespace"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
dependencies = [
|
||||
"lalrpop 0.17.2",
|
||||
"lalrpop-util 0.17.2",
|
||||
"lalrpop 0.18.0",
|
||||
"lalrpop-util 0.18.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
18
RELEASES.md
18
RELEASES.md
@ -1,3 +1,21 @@
|
||||
<a name="0.17.2"></a>
|
||||
## 0.17.2 (2020-03-04)
|
||||
|
||||
|
||||
#### Features
|
||||
|
||||
* Allow the tokenizer to contain custom skip regexes/literals ([ee2f7060](https://github.com/lalrpop/lalrpop/commit/ee2f7060e99f902620ac4edeea5cfe3c3551f09c))
|
||||
* states does not need to be passed to reduce actions ([c156b4b2](https://github.com/lalrpop/lalrpop/commit/c156b4b2fd8c02e577c08e3cf4dc0415abf16d31))
|
||||
* action does not need to be passed to reduce actions ([f69bce30](https://github.com/lalrpop/lalrpop/commit/f69bce3080bc59693f471a6f50b63c28d9ae1955))
|
||||
* Only generate simulate_reduce if error recovery is used ([d0a3ccba](https://github.com/lalrpop/lalrpop/commit/d0a3ccbaccbe2e9306f4a4fff81c294f512d6697))
|
||||
* Accept slices as types (#507) ([c3e1cda5](https://github.com/lalrpop/lalrpop/commit/c3e1cda5c395a297bc10304129904bc93e58c1b9), closes [#493](https://github.com/lalrpop/lalrpop/issues/493))
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
* Avoid emitting redundant parentheses ([b165fc93](https://github.com/lalrpop/lalrpop/commit/b165fc939ba0d0d3e2543f6ab1f658988689c5d3), closes [#493](https://github.com/lalrpop/lalrpop/issues/493))
|
||||
|
||||
|
||||
|
||||
<a name="0.17.2"></a>
|
||||
## (2019-08-21)
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
[package]
|
||||
name = "calculator"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
build = "build.rs" # <-- We added this and everything after!
|
||||
workspace = "../.."
|
||||
|
||||
[build-dependencies.lalrpop]
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
path = "../../lalrpop"
|
||||
|
||||
[dependencies]
|
||||
regex = "1"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
path = "../../lalrpop-util"
|
||||
|
@ -14,5 +14,5 @@ serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
path = "../../../lalrpop-util"
|
||||
|
@ -18,12 +18,12 @@ build = "build.rs" # LALRPOP preprocessing
|
||||
# (If you write your own tokenizer, or already have the regex
|
||||
# crate, you can skip this dependency.)
|
||||
[dependencies]
|
||||
lalrpop-util = "0.17.2"
|
||||
lalrpop-util = "0.18.0"
|
||||
regex = "1"
|
||||
|
||||
# Add a build-time dependency on the lalrpop library:
|
||||
[build-dependencies]
|
||||
lalrpop = "0.17.2"
|
||||
lalrpop = "0.18.0"
|
||||
```
|
||||
|
||||
Next create a `build.rs` file that looks like:
|
||||
|
@ -30,10 +30,10 @@ version = "0.1.0"
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
|
||||
[build-dependencies] # <-- We added this and everything after!
|
||||
lalrpop = "0.17.2"
|
||||
lalrpop = "0.18.0"
|
||||
|
||||
[dependencies]
|
||||
lalrpop-util = "0.17.2"
|
||||
lalrpop-util = "0.18.0"
|
||||
regex = "1"
|
||||
```
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
[package]
|
||||
name = "whitespace"
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
authors = ["Mako <jlauve@rsmw.net>"]
|
||||
build = "build.rs"
|
||||
|
||||
[build-dependencies.lalrpop]
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
path = "../../lalrpop"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
version = "0.17.2"
|
||||
version = "0.18.0"
|
||||
path = "../../lalrpop-util"
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lalrpop-test"
|
||||
version = "0.17.2" # LALRPOP
|
||||
version = "0.18.0" # LALRPOP
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
license = "Apache-2.0/MIT"
|
||||
build = "build.rs"
|
||||
|
@ -3,7 +3,7 @@ name = "lalrpop-util"
|
||||
description = "Runtime library for parsers generated by LALRPOP"
|
||||
repository = "https://github.com/lalrpop/lalrpop"
|
||||
license = "Apache-2.0/MIT"
|
||||
version = "0.17.2" # LALRPOP
|
||||
version = "0.18.0" # LALRPOP
|
||||
authors = ["Niko Matsakis <niko@alum.mit.edu>"]
|
||||
workspace = ".."
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "lalrpop"
|
||||
version = "0.17.2" # LALRPOP
|
||||
version = "0.18.0" # LALRPOP
|
||||
description = "convenient LR(1) parser generator"
|
||||
repository = "https://github.com/lalrpop/lalrpop"
|
||||
readme = "../README.md"
|
||||
@ -38,7 +38,7 @@ rand = "0.6"
|
||||
|
||||
[dependencies.lalrpop-util]
|
||||
path = "../lalrpop-util"
|
||||
version = "0.17.2" # LALRPOP
|
||||
version = "0.18.0" # LALRPOP
|
||||
|
||||
[features]
|
||||
# Feature used when developing LALRPOP. Tells the build script to use an existing lalrpop binary to
|
||||
|
@ -1,4 +1,4 @@
|
||||
// auto-generated: "lalrpop 0.17.2"
|
||||
// auto-generated: "lalrpop 0.18.0"
|
||||
// sha256: 7429c0f7a93c938035ee9983794eb7106fc6980f07c91a8ea4971f93ee6af
|
||||
use string_cache::DefaultAtom as Atom;
|
||||
use grammar::parse_tree::*;
|
||||
|
Loading…
x
Reference in New Issue
Block a user