comparison website/src/diff.html.luan @ 1090:616761e0b9f6

update documentation for last change
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 30 Dec 2016 13:13:16 -0700
parents ca169567ce07
children a26fbde7ee28
comparison
equal deleted inserted replaced
1089:894786a03d22 1090:616761e0b9f6
202 202
203 <p>Unlike Lua, Luan considers an <b>end_of_line</b> to be a field separator in a table constructor.</p> 203 <p>Unlike Lua, Luan considers an <b>end_of_line</b> to be a field separator in a table constructor.</p>
204 204
205 <h4 heading><a name="fn_calls">Function Calls</a></h4> 205 <h4 heading><a name="fn_calls">Function Calls</a></h4>
206 206
207 <p>Unlike Lua, Luan does not allow extra non-nil arguments to be passed to a function. In Luan, this causes an error. This change helps find coding mistakes that would be very hard to detect otherwise.</p>
208
207 <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> 209 <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>
208 210
209 <p>Luan doesn't support <em>proper tail calls</em>. Because Java doesn't support this cleanly, this was left out.</p> 211 <p>Luan doesn't support <em>proper tail calls</em>. Because Java doesn't support this cleanly, this was left out.</p>
210 212
211 <h4 heading><a name="template_expr">Template Expressions</a></h4> 213 <h4 heading><a name="template_expr">Template Expressions</a></h4>