Closed jquorning closed 3 years ago
Hi @jquorning , thank you for your interest!
However, you should supply more information on your issues, so that we can at least understand what you are proposing. Could you please fill the description with a small explanation of the problem and potential solution ?
Thanks in advance.
@raph-amiard , Thank You for your suggestions. I hope the newest brushup will clarify the proposal.. :-)
@jquorning much better indeed! Thanks 🙂
Hi @jquorning,
This looks like this is out of the scope of what we want to accomplish, and more in the scope of a more in-depth syntax revisit of Ada, so we'll be closing this.
Kind regards
Proposal
Make semicolon (';') optional in cases when statement end is known by program text context. Lets make semicolon optional when not needed anyway..
Example
Parser outputs
Outputs from GNAT compiler:
This indicates that the semicolon is redundant in many if not most cases.
Rationale
The semicolon (';') was introduced to help the parser.
Implementation
This proposal is expected to be easy to implement in the compiler parser.