weighted-regexp

Crates.ioweighted-regexp
lib.rsweighted-regexp
version0.1.0
sourcesrc
created_at2016-07-18 22:44:22.06969
updated_at2016-07-18 22:44:22.06969
descriptionRust port of 'A Play on Regular Expressions'
homepage
repositoryhttps://github.com/jameysharp/weighted-regexp-rs
max_upload_size
id5710
size11,347
Jamey Sharp (jameysharp)

documentation

README

This is a Rust implementation of the ideas from "A Play on Regular Expressions". Initially I more-or-less followed the Python treatment of the same ideas from "An Efficient and Elegant Regular Expression Matcher in Python", and then I've added support for weights.

This is not ready for real use: test coverage is minimal, and the interface for constructing and matching regular expressions is inconvenient.

However, this does illustrate that Rust can do (almost) everything that the original paper needed from Haskell, so it should be possible to duplicate all of the paper's results.

Commit count: 37

cargo fmt