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

Need new token for accessing the return value for an interface call #223

Open
frame-lang opened this issue Mar 23, 2024 · 0 comments
Open
Assignees

Comments

@frame-lang
Copy link
Owner

frame-lang commented Mar 23, 2024

Currently returns values are set using ^(ret_value) syntax. However @^ no longer is the universal way to access the return value as the architecture has changed to have self.return_stack. Proposed tokens to access the self.return_stack are:

  1. ^?
  2. ?^
  3. ^()

We also need a way to set the return value w/o executing a return.

  1. ^= "foo"
  2. ^=("foo")
@frame-lang frame-lang self-assigned this Mar 23, 2024
@frame-lang frame-lang changed the title Need new token for return value Need new token for accessing the return value for an interface call Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant