Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.11.0-beta.0 #652

Merged
merged 39 commits into from
Jul 9, 2024
Merged

v0.11.0-beta.0 #652

merged 39 commits into from
Jul 9, 2024

Conversation

Luna-Klatzer
Copy link
Member

@Luna-Klatzer Luna-Klatzer commented Jul 9, 2024

What type of change does this PR perform?

  • Info or documentation change (Non-breaking change that updates repo info files (e.g. README.md, CONTRIBUTING.md, etc.) or online documentation)
  • Website (Change that changes the design or functionality of the websites or docs)
  • Development or internal changes (These changes do not add new features or fix bugs, but update the code in other ways)
  • Bug fix (Non-breaking change which fixes an issue)
  • New feature (Non-breaking change which adds functionality)
  • [] Breaking change (Major bug fix or feature that would cause existing functionality not to work as expected.)
  • Requires a documentation update, as it changes language or compiler behaviour

Summary

New development version 0.11.0-beta.0, which adds support for generating lambdas and removes the deprecated CLI flag --abort-on-first-error.

Detailed Changelog

Added

  • Added Lambda Expressions, which are anonymous functions that can be used as expressions. (#572)
  • New interfaces:
    • LambdaExpressionSemantics, which represents the semantics of a lambda expression.
    • LambdaExpressionTypeSemantics, which represents the type semantics of a lambda expression.

Changed

  • Fixed bug allowing the use of any expressions for call expressions as that is not implemented yet.
  • Renamed:
    • Field FStringPrimaryExpressionSemantics.items to atoms.
    • File kipper/core/compiler/parser/parser-ast-mapping.ts to parse-rule-kind-mappings.ts.

Removed

  • Removed deprecated flag --abort-on-first-error in favour of --no-recover. (#501).

Does this PR create new warnings?

None.

Linked issues or PRs

lorenzholzbauer and others added 30 commits July 3, 2024 12:50
…' into 572-feature-add-lambda-functions

# Conflicts:
#	kipper/core/src/compiler/ast/nodes/expressions/lambda-expression/lambda-expression-semantics.ts
#	kipper/target-js/src/code-generator.ts
…and-1.x

fix(deps): update dependency @oclif/command to v1.8.36 (dev-next)
…eckout-4.x

chore(deps): update actions/checkout action to v4 (dev-next)
…script-eslint-monorepo

chore(deps): update dependency @typescript-eslint/eslint-plugin to v7 (dev-next)
chore(deps): update dependency nyc to v17 (dev-next)
…-first-error-in-favor-of-no-recover-as-maintainence-for-the-flag-is-not-worth-it

Removed deprecated flag `--abort-on-first-error`
@Luna-Klatzer Luna-Klatzer added release New release of the Kipper module. skip changelog Do not include in the changelog when a new release is drafted labels Jul 9, 2024
@Luna-Klatzer Luna-Klatzer added this to the v0.11.0 milestone Jul 9, 2024
@Luna-Klatzer Luna-Klatzer self-assigned this Jul 9, 2024
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

Attention: Patch coverage is 86.88525% with 16 lines in your changes missing coverage. Please review.

Project coverage is 84.29%. Comparing base (f14cf34) to head (7e5dea4).

Files Patch % Lines
...ore/src/compiler/analysis/analyser/type-checker.ts 60.00% 2 Missing and 2 partials ⚠️
...expressions/lambda-expression/lambda-expression.ts 89.74% 4 Missing ⚠️
kipper/core/src/compiler/ast/ast-generator.ts 82.35% 1 Missing and 2 partials ⚠️
...nction-call-expression/function-call-expression.ts 83.33% 1 Missing and 1 partial ⚠️
kipper/target-js/src/code-generator.ts 85.71% 2 Missing ⚠️
kipper/cli/src/commands/run.ts 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             next     #652      +/-   ##
==========================================
+ Coverage   83.66%   84.29%   +0.62%     
==========================================
  Files         219      222       +3     
  Lines        3850     3915      +65     
  Branches      428      435       +7     
==========================================
+ Hits         3221     3300      +79     
- Misses        447      489      +42     
+ Partials      182      126      -56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Luna-Klatzer Luna-Klatzer merged commit 9ed43e1 into next Jul 9, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release New release of the Kipper module. skip changelog Do not include in the changelog when a new release is drafted
Projects
Development

Successfully merging this pull request may close these issues.

2 participants