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

Feat: Function parameters init as variables #20

Merged
merged 6 commits into from
Dec 2, 2023
Merged

Conversation

mrLSD
Copy link
Owner

@mrLSD mrLSD commented Nov 26, 2023

Description

⏲️ Currently, function parameters are not interpreted as variables, and it means that Codegen should operate with that to the own choice. Solve:

🍰 Added function parameters as variables to BlockState with 🌷 additional instruction FunctionArg to SemanticStack for allocation 🎇 and bind explicitly in Codegen backend.

💡 Tests

Extended tests, that covers new instructions and func-params additions.

💪 Clippy

Increased clippy level to most maximum and fixed all clippy-related issues 🍾.

@mrLSD mrLSD added the enhancement New feature or request label Nov 26, 2023
@mrLSD mrLSD added this to the v0.3.2 milestone Nov 26, 2023
@mrLSD mrLSD self-assigned this Nov 26, 2023
Copy link

codecov bot commented Nov 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c226698) 100.00% compared to head (6c713fa) 100.00%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1758      1789   +31     
=========================================
+ Hits          1758      1789   +31     

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

@mrLSD mrLSD merged commit 177e077 into master Dec 2, 2023
4 checks passed
@mrLSD mrLSD deleted the feat/func-params branch December 2, 2023 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant