Skip to content

Commit

Permalink
New documentation parser (#5917)
Browse files Browse the repository at this point in the history
Implement new Enso documentation parser; remove old Scala Enso parser.

Performance: Total time parsing documentation is now ~2ms.

# Important Notes
- Doc parsing is now done only in the frontend.
- Some engine tests had never been switched to the new parser. We should investigate tests that don't pass after the switch: #5894.
- The option to run the old searcher has been removed, as it is obsolete and was already broken before this (see #5909).
- Some interfaces used only by the old searcher have been removed.
  • Loading branch information
kazcw authored Mar 15, 2023
1 parent c21bd3b commit e171fba
Show file tree
Hide file tree
Showing 227 changed files with 2,342 additions and 23,408 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.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@
open them in the IDE (which is not part of the React app, but can be switched
to from the dashboard). The PR also adds authentication+authorization (i.e.,
sign up and sign in for users), via either email/password or GitHub/Google.
- [New Enso documentation parser][5917]. Smaller and faster; enables planned
improvements to internal documentation representation.

#### EnsoGL (rendering engine)

Expand Down Expand Up @@ -527,6 +529,7 @@
[5802]: https://github.com/enso-org/enso/pull/5802
[5850]: https://github.com/enso-org/enso/pull/5850
[5863]: https://github.com/enso-org/enso/pull/5863
[5917]: https://github.com/enso-org/enso/pull/5917

#### Enso Compiler

Expand Down
49 changes: 24 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 e171fba

Please sign in to comment.