[package]
edition = "2024"
name = "pascal"
version = "0.1.7"
authors = ["Ying Kit WONG"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A modern Pascal compiler with build/intepreter/package manager built with Rust"
homepage = "https://github.com/yingkitw/pascal-rs"
documentation = "https://docs.rs/pascal"
readme = "README.md"
keywords = [
"compiler",
"pascal",
"build",
"intepreter",
"package-manager",
]
categories = [
"command-line-utilities",
"compilers",
]
license = "Apache-2.0"
repository = "https://github.com/yingkitw/pascal-rs"
[features]
async = ["tokio"]
debug = ["gimli"]
default = []
full = [
"lsp",
"mcp",
"gui",
]
gui = [
"cocoa",
"objc",
]
lsp = [
"tower-lsp",
"tokio",
]
mcp = []
profile = ["pprof"]
[lib]
name = "pascal"
path = "src/lib.rs"
[[bin]]
name = "pascal"
path = "src/main.rs"
[[example]]
name = "library_parallel"
path = "examples/library_parallel.rs"
[[example]]
name = "mcp_parallel"
path = "examples/mcp_parallel.rs"
required-features = ["mcp"]
[[test]]
name = "basic_test"
path = "tests/basic_test.rs"
[[test]]
name = "contract_tests"
path = "tests/contract_tests.rs"
[[test]]
name = "interpreter_edge_cases"
path = "tests/interpreter_edge_cases.rs"
[[test]]
name = "load_compile_test"
path = "tests/load_compile_test.rs"
[[test]]
name = "main_validation"
path = "tests/main_validation.rs"
[[test]]
name = "proptest_lexer"
path = "tests/proptest_lexer.rs"
[[test]]
name = "proptest_parser"
path = "tests/proptest_parser.rs"
[[test]]
name = "run_compiler_tests"
path = "tests/run_compiler_tests.rs"
[[test]]
name = "run_complex_validation_tests"
path = "tests/run_complex_validation_tests.rs"
[[test]]
name = "run_example_tests"
path = "tests/run_example_tests.rs"
[[test]]
name = "run_integration_tests"
path = "tests/run_integration_tests.rs"
[[test]]
name = "run_interpreter_tests"
path = "tests/run_interpreter_tests.rs"
[[test]]
name = "run_simple_compiler_tests"
path = "tests/run_simple_compiler_tests.rs"
[[test]]
name = "run_simple_interpreter_tests"
path = "tests/run_simple_interpreter_tests.rs"
[[test]]
name = "run_type_checker_tests"
path = "tests/run_type_checker_tests.rs"
[[test]]
name = "test_harness"
path = "tests/test_harness.rs"
[[bench]]
name = "interpreter_bench"
path = "benches/interpreter_bench.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.bincode]
version = "1.3"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.cocoa]
version = "0.25"
optional = true
[dependencies.colored]
version = "2.1"
[dependencies.gimli]
version = "0.31"
optional = true
[dependencies.logos]
version = "0.15"
[dependencies.notify]
version = "6.1"
[dependencies.num_cpus]
version = "1.16"
[dependencies.objc]
version = "0.2.7"
optional = true
[dependencies.pprof]
version = "0.14"
features = ["flamegraph"]
optional = true
[dependencies.pulldown-cmark]
version = "0.9"
[dependencies.rand]
version = "0.8"
[dependencies.rayon]
version = "1.10"
[dependencies.rmcp]
version = "0.14"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.strsim]
version = "0.11"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.toml]
version = "0.8"
[dependencies.tower-lsp]
version = "0.20"
optional = true
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.assert_matches]
version = "1.5"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.predicates]
version = "3.1"
[dev-dependencies.proptest]
version = "1.4"
[dev-dependencies.tempfile]
version = "3.10"