-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Add multiple return values support #33
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
Conversation
…creation and unpacking
…acking assignments
…mples for multiple return values and unpacking assignments
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Add support for functions returning multiple values and unpacking assignments (
return a, bandset x, y to call func).Changes
VAL_TUPLEtype to runtime for immutable fixed-size value containersAST_TUPLEandAST_UNPACK_ASSIGNparser nodes for tuple expressions and unpackingOP_TUPLE_NEWandOP_UNPACKopcodes for tuple creation and unpacking in VMTesting
Documentation
Breaking Changes
None