Skip to content

Feat: Remove indent dedent - #489

Merged
JSAbrahams merged 12 commits into
developfrom
feat-remove-indent-dedent
Aug 25, 2026
Merged

Feat: Remove indent dedent#489
JSAbrahams merged 12 commits into
developfrom
feat-remove-indent-dedent

Conversation

@JSAbrahams

@JSAbrahams JSAbrahams commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

A clean slate of sorts after not working on this project for some time.
Intent is that we can do smaller iterative changes after we stabilise again, which should hopefully be in a few commits.

  • Explicit code sets, with, and blocks as defined in README
  • Update straggling docs
  • Remove def in class arguments
  • Add traits and differentiate from types
  • A few bug fixes in the checker

Added Tests

  • Test suite resources updated to reflect changes in grammar of language.

Joel Abrahams added 5 commits August 25, 2026 10:17
Differentiate between entity, type, and fields/functions.
Now we have a separate trait and type

- traits are like interfaces in Java and traits in Rust,
  they define how something should behave.
- types are used for type refinement, either to simply rename
  something or actually add constraints on when something may
  be called something.
@JSAbrahams
JSAbrahams deployed to development August 25, 2026 11:07 — with GitHub Actions Active
@JSAbrahams
JSAbrahams deployed to development August 25, 2026 11:07 — with GitHub Actions Active
@JSAbrahams
JSAbrahams deployed to development August 25, 2026 11:07 — with GitHub Actions Active
@JSAbrahams
JSAbrahams deployed to development August 25, 2026 11:07 — with GitHub Actions Active
@JSAbrahams
JSAbrahams deployed to development August 25, 2026 11:07 — with GitHub Actions Active
@JSAbrahams
JSAbrahams marked this pull request as ready for review August 25, 2026 11:08
@JSAbrahams
JSAbrahams merged commit 38278bf into develop Aug 25, 2026
6 checks passed
@JSAbrahams
JSAbrahams deleted the feat-remove-indent-dedent branch August 25, 2026 11:10
@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.26906% with 88 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.91%. Comparing base (b34594c) to head (320e09d).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
src/generate/convert/class.rs 72.95% 43 Missing ⚠️
src/parse/lex/token.rs 56.36% 24 Missing ⚠️
src/parse/ast/node.rs 70.58% 5 Missing ⚠️
src/parse/control_flow_stmt.rs 83.33% 4 Missing ⚠️
src/parse/mod.rs 33.33% 4 Missing ⚠️
src/check/constrain/generate/class.rs 78.57% 3 Missing ⚠️
src/check/context/arg/generic.rs 50.00% 1 Missing ⚠️
src/check/context/field/generic.rs 91.66% 1 Missing ⚠️
src/check/name/mod.rs 0.00% 1 Missing ⚠️
src/parse/control_flow_expr.rs 92.85% 1 Missing ⚠️
... and 1 more
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #489      +/-   ##
===========================================
- Coverage    89.37%   88.91%   -0.47%     
===========================================
  Files          104      104              
  Lines        14770    15028     +258     
===========================================
+ Hits         13201    13362     +161     
- Misses        1569     1666      +97     
Files with missing lines Coverage Δ
src/check/ast/mod.rs 100.00% <ø> (ø)
src/check/ast/node.rs 93.92% <100.00%> (-2.19%) ⬇️
src/check/constrain/generate/collection.rs 97.43% <100.00%> (ø)
src/check/constrain/generate/mod.rs 93.93% <100.00%> (ø)
src/check/constrain/unify/function.rs 84.58% <100.00%> (ø)
src/check/context/clss/generic.rs 92.85% <100.00%> (+0.08%) ⬆️
src/check/context/clss/mod.rs 96.66% <100.00%> (+0.45%) ⬆️
src/check/context/generic.rs 97.87% <ø> (ø)
src/generate/convert/control_flow.rs 94.84% <100.00%> (+0.14%) ⬆️
src/generate/convert/mod.rs 93.87% <100.00%> (ø)
... and 23 more

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement: parse New feature in the parse module test: parse Tests for the parser

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant