Mercurial Hosting > luan
diff website/src/diff.html.luan @ 686:33f1b4ad2c9d
more documentation fixes
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 17 Apr 2016 16:39:28 -0600 |
parents | 1e4b0bc0202d |
children | ca169567ce07 |
line wrap: on
line diff
--- a/website/src/diff.html.luan Sat Apr 16 22:37:47 2016 -0600 +++ b/website/src/diff.html.luan Sun Apr 17 16:39:28 2016 -0600 @@ -59,6 +59,7 @@ <li><a href="#bit">Bitwise Operators</a></li> <li><a href="#logical_ops">Logical Operators</a></li> <li><a href="#concatenation">Concatenation</a></li> + <li><a href="#constructors">Table Constructors</a></li> <li><a href="#fn_calls">Function Calls</a></li> <li><a href="#template_expr">Template Expressions</a></li> </ul> @@ -197,6 +198,10 @@ <p>Unlike Lua, Luan converts all concatenation operands to strings. +<h4 heading><a name="constructors">Table Constructors</a></h4> + +<p>Unlike Lua, Luan considers an <b>end_of_line</b> to be a field separator in a table constructor.</p> + <h4 heading><a name="fn_calls">Function Calls</a></h4> <p>Luan does not support Lua's <code>v:name(args)</code> style object-oriented function call. Object oriented programming is done in Luan using closures, so this feature is not needed.</p>