[package]
edition = "2024"
rust-version = "1.85"
name = "bcgen-lang"
version = "0.4.1"
authors = ["James Gober <me@jamesgober.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiles HIR to LSB bytecode: the path from a forged language's meaning to code bvm-lang runs."
homepage = "https://github.com/jamesgober/bcgen-lang"
documentation = "https://docs.rs/bcgen-lang"
readme = "README.md"
keywords = [
"bytecode",
"compiler",
"hir",
"codegen",
"lexersketch",
]
categories = [
"compilers",
"no-std",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/jamesgober/bcgen-lang"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
default = ["std"]
std = [
"hir-lang/std",
"bytecode-lang/std",
"intern-lang/std",
]
[lib]
name = "bcgen_lang"
path = "src/lib.rs"
[[example]]
name = "classes"
path = "examples/classes.rs"
[[example]]
name = "mox_intrinsics"
path = "examples/mox_intrinsics.rs"
[[example]]
name = "run_script"
path = "examples/run_script.rs"
[[test]]
name = "binding"
path = "tests/binding.rs"
[[test]]
name = "class_model"
path = "tests/class_model.rs"
[[test]]
name = "classes"
path = "tests/classes.rs"
[[test]]
name = "differential"
path = "tests/differential.rs"
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "features"
path = "tests/features.rs"
[[test]]
name = "features_0_3"
path = "tests/features_0_3.rs"
[[test]]
name = "features_0_4"
path = "tests/features_0_4.rs"
[[test]]
name = "hostile"
path = "tests/hostile.rs"
[[test]]
name = "hostile_classes"
path = "tests/hostile_classes.rs"
[[test]]
name = "intrinsics"
path = "tests/intrinsics.rs"
[[test]]
name = "keys"
path = "tests/keys.rs"
[[test]]
name = "limits"
path = "tests/limits.rs"
[[test]]
name = "mixins"
path = "tests/mixins.rs"
[[test]]
name = "nested_modules"
path = "tests/nested_modules.rs"
[[test]]
name = "properties"
path = "tests/properties.rs"
[[test]]
name = "scaling"
path = "tests/scaling.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.bytecode-lang]
version = "0.3"
default-features = false
[dependencies.hir-lang]
version = "0.4"
default-features = false
[dependencies.intern-lang]
version = "1"
default-features = false
[dev-dependencies.bvm-lang]
version = "=2.0.0-alpha.4"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.resolve-lang]
version = "0.4"
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"