add: compiler
This commit is contained in:
36
Cargo.toml
36
Cargo.toml
@@ -1,9 +1,24 @@
|
||||
[workspace]
|
||||
members = [
|
||||
".",
|
||||
"rpgrt",
|
||||
]
|
||||
resolver = "2"
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Main compiler package
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
[package]
|
||||
name = "rust-langrpg"
|
||||
name = "rust-langrpg"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
default-run = "rust-langrpg"
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Binaries
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
[[bin]]
|
||||
name = "rust-langrpg"
|
||||
path = "src/main.rs"
|
||||
@@ -12,6 +27,21 @@ path = "src/main.rs"
|
||||
name = "demo"
|
||||
path = "src/bin/demo.rs"
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Library (rlib — used by the binaries and tests)
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
[lib]
|
||||
name = "rust_langrpg"
|
||||
path = "src/lib.rs"
|
||||
crate-type = ["rlib"]
|
||||
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
# Dependencies
|
||||
# ─────────────────────────────────────────────────────────────────────────────
|
||||
|
||||
[dependencies]
|
||||
bnf = "0.6"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
bnf = "0.6"
|
||||
clap = { version = "4", features = ["derive"] }
|
||||
either = "1"
|
||||
inkwell = { version = "0.8", features = ["llvm21-1"] }
|
||||
|
||||
Reference in New Issue
Block a user