carbon-lang icon indicating copy to clipboard operation
carbon-lang copied to clipboard

Make statement blocks proposal

Open jonmeow opened this issue 3 years ago • 3 comments
trafficstars

Indentation-based validity rules, particularly for code blocks (as in Python), were the topic of leads question https://github.com/carbon-language/carbon-lang/issues/521. The question was resolved, and the comment https://github.com/carbon-language/carbon-lang/issues/521#issuecomment-890268632 is the key decision.

Because the question was asked independent of a proposal, a standard proposal is still needed for evolution review, essentially translating the issue into a proposed solution with rationale, alternatives considered, etc. This issue is to track the proposal need.

https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/blocks_and_statements.md tracks the design status of blocks. Given that the design was not to do indentation-based validity rules, I think the right structure of this is a proposal laying out the structure of blocks and scopes, mentioning indentation-based rules as an alternative considered.

jonmeow avatar Aug 11 '22 22:08 jonmeow

I feel like #2002 should maybe be merged into this one, what do others think?

chandlerc avatar Aug 12 '22 01:08 chandlerc

I'm going to start work on #2002 and to me, it also makes sense to have a look at this at the same time.

junlarsen avatar Aug 12 '22 16:08 junlarsen

We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please comment or remove the inactive label. The long term label can also be added for issues which are expected to take time. This issue is labeled inactive because the last activity was over 90 days ago.

github-actions[bot] avatar Nov 11 '22 02:11 github-actions[bot]