mirror of
https://github.com/enso-org/enso.git
synced 2024-12-30 01:55:57 +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.
29 lines
978 B
TOML
29 lines
978 B
TOML
[package]
|
|
name = "enso-suggestion-database"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
enso-prelude = { path = "../../../lib/rust/prelude" }
|
|
convert_case = { workspace = true }
|
|
span-tree = { path = "../language/span-tree" }
|
|
ast = { path = "../language/ast/impl" }
|
|
parser = { path = "../language/parser" }
|
|
parser-scala = { path = "../language/parser-scala" }
|
|
enso-text = { path = "../../../lib/rust/text" }
|
|
double-representation = { path = "../controller/double-representation" }
|
|
engine-protocol = { path = "../controller/engine-protocol" }
|
|
enso-data-structures = { path = "../../../lib/rust/data-structures" }
|
|
flo_stream = { version = "0.4.0" }
|
|
failure = { workspace = true }
|
|
enso-notification = { path = "../../../lib/rust/notification" }
|
|
|
|
[dev-dependencies]
|
|
futures = { workspace = true }
|
|
enso-executor = { path = "../../../lib/rust/executor" }
|
|
wasm-bindgen-test = { workspace = true }
|