Remove unsupported by Aer alternative syntax for control structures #22

Closed
opened 2018-07-28 13:02:19 +02:00 by belliash · 1 comment
Owner

Aer Information

  • Aer Version (or commit ref): eb088cd0d7
  • Operating System: Linux
  • System Architecture (eg. arm, x86_64, ...): x86_64

Your problem description

Aer actually supports an alternative syntax for control structures: namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively. This so-called template syntax is unnecessary in Aer.

<!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please take a moment to check that your issue doesn't already exist. 3. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> # Aer Information - Aer Version (or commit ref): eb088cd0d7 - Operating System: Linux - System Architecture (eg. arm, x86_64, ...): x86_64 # Your problem description Aer actually supports an alternative syntax for control structures: namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively. This so-called template syntax is unnecessary in Aer.
belliash added the
enhancement
label 2018-07-28 13:02:34 +02:00
belliash self-assigned this 2018-07-28 15:38:57 +02:00
Author
Owner

Done in 3f1397ed93 and 5cb19f63a5.

Done in 3f1397ed93 and 5cb19f63a5.
belliash changed title from Remove unsupported by P# alternative syntax for control structures to Remove unsupported by Aer alternative syntax for control structures 2018-08-01 17:19:00 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aerscript/Aer#22
No description provided.