mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 14:01:37 +03:00
d1af25793a
Use the Rust parser rather than the Scala parser to parse Enso code in the IDE. Implements: - https://www.pivotaltracker.com/story/show/182975925 - https://www.pivotaltracker.com/story/show/182988419 - https://www.pivotaltracker.com/story/show/182970096 - https://www.pivotaltracker.com/story/show/182973659 - https://www.pivotaltracker.com/story/show/182974161 - https://www.pivotaltracker.com/story/show/182974205 There is additional functionality needed before the transition is fully-completed, however I think it's time for this to see review and testing, so I've opened separate issues. In rough order of urgency (these issues are also linked from the corresponding disabled tests): - #5573 - #5571 - #5572 - #5574 # Important Notes The implementation is based partly on translation, and partly on new analysis. Method- and operator-related shapes are translated to the old `Ast` variants, so that all the analysis applied to them doesn't need to be ported at this time. Everything else (mostly "macros" in the old AST) is implemented with new analysis.
27 lines
863 B
TOML
27 lines
863 B
TOML
[package]
|
|
name = "double-representation"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
ast = { path = "../../language/ast/impl" }
|
|
parser = { path = "../../language/parser" }
|
|
engine-protocol = { path = "../engine-protocol" }
|
|
enso-data-structures = { path = "../../../../lib/rust/data-structures" }
|
|
enso-prelude = { path = "../../../../lib/rust/prelude" }
|
|
enso-profiler = { path = "../../../../lib/rust/profiler" }
|
|
enso-text = { path = "../../../../lib/rust/text" }
|
|
const_format = { workspace = true }
|
|
failure = { workspace = true }
|
|
itertools = { workspace = true }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
uuid = { version = "0.8", features = ["serde", "v4", "wasm-bindgen"] }
|
|
|
|
[dev-dependencies]
|
|
regex = { workspace = true }
|
|
wasm-bindgen-test = { workspace = true }
|