![]() I slightly altered the way we parse import definitions to ensure we merge imports from the same modules (that aren't aliased) together. This prevents an annoying warning with duplicated import lines and makes it just more convenient overall. As a trade-off, we can no longer interleave import definitions with other definitions. This should be a minor setback only since the formatter was already ensuring that all import definitions would be grouped at the top. --- Note that, I originally attempted to implement this in the formatter instead of the parser. As it felt more appropriate there. However, the formatter operates on (unmutable) borrowed definitions, which makes it annoyingly hard to perform any AST manipulations. The `Document` returns by the format carries a lifetime that prevents the creation of intermediate local values. So instead, slightly tweaking the parser felt like the right thing to do. |
||
---|---|---|
.github | ||
crates | ||
examples | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
CHANGELOG.md | ||
CONTRIBUTING.md | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md | ||
flake.lock | ||
flake.nix |
README.md
Getting Started
Hello, World!
Wanna get started right-away? Complete the Hello, World! tutorial!
Contributing
Want to contribute? See CONTRIBUTING.md to know how.
Changelog
Be on top of any updates using the CHANGELOG and the Project Tracking.
Stats
[!NOTE]
The name comes from Howard Aiken, an American physicist and a pioneer in computing.