Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ members = [
"crates/treereduce-javascript",
"crates/treereduce-lua",
"crates/treereduce-rust",
"crates/treereduce-smtlib",
"crates/treereduce-souffle",
"crates/treereduce-swift",
]

# https://nnethercote.github.io/perf-book/build-configuration.html
[profile.release]
lto = true
lto = true
16 changes: 16 additions & 0 deletions crates/treereduce-smtlib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "treereduce-smtlib"
description = "Fast, parallel, syntax-aware program reducer for SMT-Lib 2"
version = "0.3.1"
keywords = ["program-reducer", "minimization", "test-case-reduction", "smtlib"]
edition = "2021"
authors = ["Langston Barrett <[email protected]>"]
license = "MIT"
readme = "../../README.md"
homepage = "https://github.com/langston-barrett/treereduce"
repository = "https://github.com/langston-barrett/treereduce"

[dependencies]
anyhow = "1.0"
treereduce = { version = "0.3.1", path = "../treereduce", features = ["cli"] }
tree-sitter-smtlib2 = { git = "https://github.com/Halbaroth/tree-sitter-smtlib2" }
11 changes: 11 additions & 0 deletions crates/treereduce-smtlib/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
use std::collections::HashMap;

use anyhow::Result;

fn main() -> Result<()> {
treereduce::cli::main(
tree_sitter_smtlib2::language(),
tree_sitter_smtlib2::NODE_TYPES,
HashMap::new(),
)
}
Loading