Skip to content

Commit

Permalink
New doc parser. Parses in <2ms; simplifies codebase.
Browse files Browse the repository at this point in the history
- Doc parsing is now done only in the frontend.
- The scala parser has been eliminated. We were using it for docs and a
  few odd cases, including to run some tests. Some syntax cases that
  only occurred in compiler tests are treated differently in the new
  parser. Mainly these relate to type signatures and annotations. Some
  of these cases should be handled in translation. #5894 tracks triaging
  these cases and re-enabling the affected tests.
- The option to run the old searcher has been removed, as it is obsolete
  and was already broken before this.
- Some interfaces used only by the old searcher have been removed.
  • Loading branch information
kazcw committed Mar 13, 2023
1 parent 888307f commit 172ea43
Show file tree
Hide file tree
Showing 190 changed files with 1,771 additions and 22,719 deletions.
27 changes: 0 additions & 27 deletions .idea/runConfigurations/clippy-parser-scala-wasm-linux.xml

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/runConfigurations/clippy-parser-scala-wasm-macos.xml

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/runConfigurations/clippy-parser-scala-wasm-windows.xml

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/runConfigurations/clippy-parser-scala-wasm.xml

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/runConfigurations/doc-test-parser-scala-native.xml

This file was deleted.

27 changes: 0 additions & 27 deletions .idea/runConfigurations/test-parser-scala-native.xml

This file was deleted.

43 changes: 18 additions & 25 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ members = [
"build/deprecated/rust-scripts",
"build/shader-tools",
"lib/rust/*",
"lib/rust/parser/doc-parser",
"lib/rust/parser/src/syntax/tree/visitor",
"lib/rust/parser/jni",
"lib/rust/parser/generate-java",
Expand Down
2 changes: 1 addition & 1 deletion app/gui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ enso-data-structures = { path = "../../lib/rust/data-structures" }
enso-debug-api = { path = "../../lib/rust/debug-api" }
enso-debug-scene = { path = "view/examples" }
enso-frp = { path = "../../lib/rust/frp" }
enso-doc-parser = { path = "../../lib/rust/parser/doc-parser" }
enso-prelude = { path = "../../lib/rust/prelude" }
enso-profiler = { path = "../../lib/rust/profiler" }
enso-executor = { path = "../../lib/rust/executor" }
Expand All @@ -34,7 +35,6 @@ ensogl-drop-manager = { path = "../../lib/rust/ensogl/component/drop-manager" }
fuzzly = { path = "../../lib/rust/fuzzly" }
ast = { path = "language/ast/impl" }
parser = { path = "language/parser" }
parser-scala = { path = "language/parser-scala" }
ide-view = { path = "view" }
engine-protocol = { path = "controller/engine-protocol" }
json-rpc = { path = "../../lib/rust/json-rpc" }
Expand Down
Loading

0 comments on commit 172ea43

Please sign in to comment.