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: extend SemanticStack with registers #17

Merged
merged 5 commits into from
Nov 18, 2023
Merged

Conversation

mrLSD
Copy link
Owner

@mrLSD mrLSD commented Nov 17, 2023

Description

🥇 Registers

Implemented register numbers for expressions and assignment operations.

The main point is to track correct expressions, values, and function parameters.

🥈 Toy Codegen

As an example of usage for semantic-alalyzer-rs is implemented as a separate project toy-codegen. It shows how to use SemanticStack for Codegen generation. Added to README.md.

📝 Documentation

  • Extended README docs
  • Extended code documentation for SemanticStack functions generator.

@mrLSD mrLSD self-assigned this Nov 17, 2023
@mrLSD mrLSD added enhancement New feature or request documentation Improvements or additions to documentation labels Nov 17, 2023
@mrLSD mrLSD added this to the v0.3.0 milestone Nov 17, 2023
Copy link

codecov bot commented Nov 17, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5ad44c2) 99.62% compared to head (c662618) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master       #17      +/-   ##
===========================================
+ Coverage   99.62%   100.00%   +0.37%     
===========================================
  Files           9         9              
  Lines        1610      1650      +40     
===========================================
+ Hits         1604      1650      +46     
+ Misses          6         0       -6     

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

@mrLSD mrLSD merged commit ef93e56 into master Nov 18, 2023
4 checks passed
@mrLSD mrLSD deleted the feat/register-number branch November 18, 2023 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant