Skip to content

Add augmented assignment proposal #238

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

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

Leonard-Reuter
Copy link
Contributor

@Leonard-Reuter Leonard-Reuter commented Nov 1, 2021

Added proposal for augmented assignment with +.=, /.= etc. following the discussion in #113

@Leonard-Reuter Leonard-Reuter changed the title Augmented assignment Add augmented assignment proposal Nov 1, 2021
@certik
Copy link
Member

certik commented Nov 1, 2021

Thanks for writing it up!

In order for this proposal to have a chance, in my opinion we have to address existing and past committee criticisms.

You should reference previous proposals, I think there were some.

And then we need to go into the J3 mailinglist (I added a link in one of the comments in #113), and address every objection. Otherwise the same objections will be given and the proposal rejected.

often `get_index` is called would depend on the compiler.

The dot is added between the operator and `=`, since `/=` is already in
use.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here it would be good to add "in use as the not equal relational operator".

@certik certik added the Clause 10 Standard Clause 10: Expressions and assignment label Apr 23, 2022
@Leonard-Reuter
Copy link
Contributor Author

@certik I updated the proposal by adding a discussion for the major objections.

@ivan-pi I added something similar to the proposal.

@certik
Copy link
Member

certik commented Jul 27, 2022

Thanks! Do you want me to merge it and do you want to submit it for the next committee meet?

@Leonard-Reuter
Copy link
Contributor Author

@certik Yes, that'd be great =) Thank you

@certik certik merged commit 996a8b9 into j3-fortran:master Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clause 10 Standard Clause 10: Expressions and assignment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants