mirror of
https://github.com/enso-org/enso.git
synced 2024-12-25 12:42:02 +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.
20 lines
585 B
TOML
20 lines
585 B
TOML
[package]
|
|
name = "parser"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
ast = { path = "../ast/impl" }
|
|
enso-parser = { path = "../../../../lib/rust/parser" }
|
|
enso-prelude = { path = "../../../../lib/rust/prelude" }
|
|
enso-profiler = { path = "../../../../lib/rust/profiler" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = { version = "1.0", features = ["unbounded_depth"] }
|
|
enso-text = { path = "../../../../lib/rust/text" }
|
|
failure = { version = "0.1" }
|
|
uuid = { version = "0.8" }
|