mirror of
https://github.com/enso-org/enso.git
synced 2024-11-22 22:10:15 +03:00
4d4a2990a0
Align `Assignment`/`Function` distinction in AST with compiler's implemented semantics: - The ambiguous case `funcOrVar = expression` is now parsed as a `Function` when in a `Type` definition or in the top level of a module. I.e. it is an `Assignment` in contexts where the RHS is evaluated immediately when the binding is evaluated, and a `Function` in contexts where the RHS is evaluated each time the bound name is evaluated. - `Assignment` statements now may only occur in function bodies. Correcting this distinction lays the groundwork for #11302. Other changes: - Fixed incorrect source code locations for negative literals and negated expressions. # Important Notes New APIs: - The parser now exposes a `parse_block` entry point, which allows parsing input lines as if in the body of a function. The previous entry point has been renamed to `parse_module`. |
||
---|---|---|
.. | ||
.vscode | ||
common | ||
gui | ||
ide-desktop | ||
rust-ffi | ||
ydoc-server | ||
ydoc-server-nodejs | ||
ydoc-server-polyglot | ||
ydoc-shared | ||
.example.env | ||
.gitignore | ||
modules.d.ts | ||
README.md |
Desktop app
This folder contains projects related to the desktop app.
Folder structure
Refer to the README.md
in each individual module (if it exists) for the
internal folder structure of the module.
assets/
: Icons and images used by other modules. Currently these are only used bydashboard/
.client/
: The code for the Electron desktop app.common/
: Utility functions required by multiple other modules.content/
: The entry point for the GUI1 web app. This is the main page for the desktop app.content-config/
: The statically-typed configuration object forcontent/
.dashboard/
: The dashboard, used to manage projects. It launches the GUI (located incontent/
for GUI1, or/app/gui2/
for GUI2) when a project is opened.icons/
: Generates the logo for the app.ts-plugin-namespace-auto-import/
: (WIP) A TypeScript plugin to change auto-import to useimport * as moduleName
rather thanimport {}
.types/
: Miscellaneous types used by multiple modules.