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

Absorb lesson of do-while loops #10

Open
RoyalIcing opened this issue Jan 10, 2024 · 0 comments
Open

Absorb lesson of do-while loops #10

RoyalIcing opened this issue Jan 10, 2024 · 0 comments
Milestone

Comments

@RoyalIcing
Copy link
Owner

RoyalIcing commented Jan 10, 2024

Would this tie into syntax like?

loop Hello do
  i = i + 1
end
|> while(i < 10)

I don’t think I want to attempt to optimise all loops into this form, but at least let you express them. I want to keep the level of optimisations that Orb does to a minimum (at least initially), so you can map 1-to-1 with the outputted Wat syntax.

@RoyalIcing RoyalIcing added this to the Beta milestone Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant