-
Notifications
You must be signed in to change notification settings - Fork 56
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
Support RETURN keyword #234
Conversation
Codecov Report
@@ Coverage Diff @@
## master #234 +/- ##
==========================================
+ Coverage 93.58% 93.60% +0.01%
==========================================
Files 34 34
Lines 9173 9217 +44
==========================================
+ Hits 8585 8628 +43
- Misses 588 589 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you also add a correctness test for an early return function?
Correctness tests will execute the code and return a value, not just codegen.
This PR adds support for the
RETURN
keyword in the parser and code generator. It includes an example for experimentation as well as parser and codegen tests.