mirror of
https://github.com/enso-org/enso.git
synced 2024-12-30 05:42:08 +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.
23 lines
764 B
TOML
23 lines
764 B
TOML
[package]
|
|
name = "ast"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
derive_more = { workspace = true }
|
|
failure = { workspace = true }
|
|
lazy_static = { workspace = true }
|
|
regex = { workspace = true }
|
|
serde = { version = "1.0", features = ["derive", "rc"] }
|
|
uuid = { version = "0.8.1", features = ["serde", "v4", "wasm-bindgen"] }
|
|
ast-macros = { path = "../macros" }
|
|
enso-data-structures = { path = "../../../../../lib/rust/data-structures" }
|
|
enso-text = { path = "../../../../../lib/rust/text" }
|
|
enso-prelude = { path = "../../../../../lib/rust/prelude" }
|
|
enso-shapely = { path = "../../../../../lib/rust/shapely" }
|
|
enso-profiler = { path = "../../../../../lib/rust/profiler" }
|