[package]
edition = "2024"
name = "patch-prolog-compiler"
version = "0.2.0"
authors = ["Ed Sweeney <ed@onextent.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Standalone Prolog compiler (plgc) — compiles .pl to native binaries via LLVM"
readme = false
license = "MIT"
resolver = "2"
[lib]
name = "plgc"
path = "src/lib.rs"
[[bin]]
name = "plgc"
path = "src/main.rs"
[[test]]
name = "binary_size"
path = "tests/binary_size.rs"
[[test]]
name = "control_arith"
path = "tests/control_arith.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "fact_table"
path = "tests/fact_table.rs"
[[test]]
name = "golden_ir"
path = "tests/golden_ir.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "v1_arith"
path = "tests/v1_arith.rs"
[[test]]
name = "v1_control"
path = "tests/v1_control.rs"
[[test]]
name = "v1_errors"
path = "tests/v1_errors.rs"
[[test]]
name = "v1_facts_rules"
path = "tests/v1_facts_rules.rs"
[[test]]
name = "v1_lists_stdlib"
path = "tests/v1_lists_stdlib.rs"
[[test]]
name = "v1_operators"
path = "tests/v1_operators.rs"
[[test]]
name = "v1_terms_atoms"
path = "tests/v1_terms_atoms.rs"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.clap_complete]
version = "4.5"
[dependencies.plg-frontend]
version = "=0.2.0"
package = "patch-prolog-frontend"
[dependencies.plg-shared]
version = "=0.2.0"
package = "patch-prolog-shared"
[dependencies.tempfile]
version = "3"
[dev-dependencies.tempfile]
version = "3"
[build-dependencies.plg-runtime]
version = "=0.2.0"
package = "patch-prolog-runtime"
[build-dependencies.toml]
version = "1.0"