Remove unsupported by Aer alternative syntax for control structures #22

已关闭
belliash2018-07-28 13:02:19 +02:00创建 · 1 评论
管理员

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.
belliash2018-07-28 13:02:34 +02:00 添加了标签
enhancement
belliash2018-07-28 15:38:57 +02:00 指派给自己
作者
管理员

Done in 3f1397ed93 and 5cb19f63a5.

Done in 3f1397ed93 and 5cb19f63a5.
belliash2018-07-28 23:13:29 +02:00 关闭此工单
belliash2018-08-01 17:19:00 +02:00 修改标题 Remove unsupported by P# alternative syntax for control structuresRemove unsupported by Aer alternative syntax for control structures
登录 并参与到对话中。
1 名参与者
通知
到期时间
未设置到期时间。
依赖工单

没有设置依赖项。

参考:aerscript/Aer#22
没有提供说明。