Skip to content

Commit

Permalink
Merge pull request #87 from rust-lang/new-parser
Browse files Browse the repository at this point in the history
Rewrite parser as part of new regex-syntax crate.
  • Loading branch information
BurntSushi committed May 27, 2015
2 parents 3e26dc6 + 068514f commit 3ba38c4
Show file tree
Hide file tree
Showing 16 changed files with 4,285 additions and 1,507 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/target
/Cargo.lock
/regex_macros/target
/regex_macros/Cargo.lock
target
Cargo.lock
bench-log
.*.swp
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ script:
cargo bench --manifest-path=regex_macros/Cargo.toml
)
- cargo doc
- cargo test --verbose --manifest-path=regex-syntax/Cargo.toml
- cargo doc --verbose --manifest-path=regex-syntax/Cargo.toml
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
Expand Down
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@ path = "regex_macros/benches/bench_dynamic.rs"
test = false
bench = true

[dependencies]
regex-syntax = { path = "regex-syntax", version = "0.1" }

[dev-dependencies]
rand = "0.3"

[features]
pattern = []

[profile.bench]
lto = true
13 changes: 13 additions & 0 deletions regex-syntax/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "regex-syntax"
version = "0.1.0"
authors = ["The Rust Project Developers"]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-lang/regex"
documentation = "http://doc.rust-lang.org/regex"
homepage = "https://github.com/rust-lang/regex"
description = "A regular expression parser."

[dev-dependencies]
quickcheck = "0.2"
rand = "0.3"

0 comments on commit 3ba38c4

Please sign in to comment.