19,344
edits
m (→Syntax Overview: table align fix) |
m (→Syntax Overview: replacing aligns on each cell with table-wide align) |
||
Line 42: | Line 42: | ||
==Syntax Overview== | ==Syntax Overview== | ||
{| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;" | {| border="1" cellpadding="5" cellspacing="0" style="margin-left:auto; margin-right:auto;" align="center" | ||
|+'''BSL syntax overview table''' | |+'''BSL syntax overview table''' | ||
|- | |- | ||
| | | style="border-bottom:3px solid grey;"| | ||
{| border="0" | {| border="0" | ||
|+''BSL separators'' | |+''BSL separators'' | ||
|- | |- | ||
| | | width="100px" | [[BSL:Statements|<tt>;</tt>]] | ||
| | | width="100px" | [[BSL:Functions|<tt>,</tt>]] | ||
| | | width="100px" | [[BSL:Comments|<tt>#</tt>]] | ||
| | | width="100px" | [[BSL:Data|<tt>"</tt>]] | ||
|- | |- | ||
| | | width="100px" | [[BSL:Statements|<tt>{</tt>]] | ||
| | | width="100px" | [[BSL:Statements|<tt>}</tt>]] | ||
| | | width="100px" | [[BSL:Functions|<tt>(</tt>]] | ||
| | | width="100px" | [[BSL:Functions|<tt>)</tt>]] | ||
|- | |- | ||
| | | colspan="4" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;" | | ||
Click on a separator for details | Click on a separator for details | ||
|} | |} | ||
|- | |- | ||
| | | style="border-bottom:3px solid grey;"| | ||
{| border="0" | {| border="0" | ||
|+''BSL operators'' | |+''BSL operators'' | ||
|- | |- | ||
| | | width="100px" | [[BSL:Operators|<tt>+</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>-</tt>]] | ||
| | | width="100px" | [[BSL:Variables|<tt>=</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>!</tt>]] | ||
|- | |- | ||
| | | width="100px" | [[BSL:Operators|<tt>and</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>or</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>eq</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>ne</tt>]] | ||
|- | |- | ||
| | | width="100px" | [[BSL:Operators|<tt><</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>></tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt><=</tt>]] | ||
| | | width="100px" | [[BSL:Operators|<tt>>=</tt>]] | ||
|- | |- | ||
| | | colspan="4" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;" | | ||
Click on an operator for details | Click on an operator for details | ||
|} | |} | ||
|- | |- | ||
| | | style="border-bottom:3px solid grey;"| | ||
{| border="0" | {| border="0" | ||
|+''BSL keywords'' | |+''BSL keywords'' | ||
|- | |- | ||
| | | width="75px" | [[BSL:Keywords|<tt>at</tt>]] | ||
| | | width="75px" | [[BSL:Data|<tt>float</tt>]] | ||
| | | width="75px" | [[BSL:Statements|<tt>if</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>repeat</tt>]] | ||
| | | width="75px" | [[BSL:Data|<tt>string</tt>]] | ||
|- | |- | ||
| | | width="75px" | [[BSL:Data|<tt>bool</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>for</tt>]] | ||
| | | width="75px" | [[BSL:Data|<tt>int</tt>]] | ||
| | | width="75px" | [[BSL:Functions|<tt>return</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>using</tt>]] | ||
|- | |- | ||
| | | width="75px" | [[BSL:Statements|<tt>else</tt>]] | ||
| | | width="75px" | [[BSL:Functions|<tt>fork</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>iterate</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>schedule</tt>]] | ||
| | | width="75px" | [[BSL:Variables|<tt>var</tt>]] | ||
|- | |- | ||
| | | width="75px" | [[BSL:Keywords|<tt>every</tt>]] | ||
| | | width="75px" | [[BSL:Functions|<tt>func</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>over</tt>]] | ||
| | | width="75px" | [[BSL:Keywords|<tt>sleep</tt>]] | ||
| | | width="75px" | [[BSL:Data|<tt>void</tt>]] | ||
|- | |- | ||
| | | colspan="5" style="border-top:1px solid red; border-right:1px solid red; border-bottom:2px solid red; border-left:1px solid red;" | | ||
Click on a keyword for details | Click on a keyword for details | ||
|} | |} |