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

Application with bindings by digits #2665

Closed
maxonfjvipon opened this issue Dec 1, 2023 · 3 comments · Fixed by #2669
Closed

Application with bindings by digits #2665

maxonfjvipon opened this issue Dec 1, 2023 · 3 comments · Fixed by #2669
Assignees

Comments

@maxonfjvipon
Copy link
Member

Let's extend our syntax by adding an ability to bind attributes by digits:

x y:0 z:1

a
  b:1
  c:0

It will add a bit flexibility to the language and also will help translate phi-calalsulus to xmir without extra temporary objects.
@yegor256 WDYT?

@maxonfjvipon
Copy link
Member Author

I also suggest to prohibit binding by digits and names at the same time. For example it would be prohibited: x y:0 z:a. Only x y:0 z:1 or x y:a z:b are allowed

@0pdd
Copy link

0pdd commented Dec 4, 2023

@maxonfjvipon the puzzle #2670 is still not solved.

@0pdd
Copy link

0pdd commented Dec 6, 2023

@maxonfjvipon the only puzzle #2670 is solved here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants