-
Notifications
You must be signed in to change notification settings - Fork 12
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
Add loop and other control flow expressions #119
Add loop and other control flow expressions #119
Conversation
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.
Sorry for the delay ^^
Commenting mostly on the docs, as I haven't checked the implementation very thoroughly, but the tests seem to be working, so I think it should be fine (famous last words) 😅
No problem at all, thank you for providing feedback!! I have a busy week ahead. So, it might take some time until I address the comments :)
That's totally fine. The docs and API are the important parts. I find the rustc backend a bit chaotic. While working on it, I also focus on the tests. That's what they're for. So feel free to continue handling it like that :). |
Co-authored-by: Niki4tap <rombiklol2@gmail.com>
514254f
to
8d6f2cb
Compare
I hope the last commit covers all suggestions. Thank you for the review :) |
Thanks! Looks great now! bors r+ |
This PR adds loop expressions and control flow expressions to Marker's API. With this
cargo dogfood
only complains about the path resolution of two generic parameters (which I'm planning to fix soon) and closures. The rest seems to be working 🎉.For and While loops again have some interesting desugar, I tried to document them in the code. It seems to be working well, at least according to the test output.
Most of the changes should be test output and documentation as usual. Sorry, that it involves so many changes at once. (I'm totally not using Marker to procrastinate) 😅
r? @Niki4tap If you have the time, I'd appreciate your feedback :)
cc: #52
Not much more to say. For everyone reading this, have a wonderful day :)