Mercurial Hosting > luan
comparison website/src/diff.html.luan @ 464:eddf7c73373b
fix references in the manual
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Thu, 07 May 2015 21:31:19 -0600 |
| parents | 2f5cc9c2cbf0 |
| children | 47c7de1f2322 |
comparison
equal
deleted
inserted
replaced
| 463:895afcd2b281 | 464:eddf7c73373b |
|---|---|
| 73 | 73 |
| 74 <h2 margin-top="1em"><a name="basic">Basic Concepts</a></h2> | 74 <h2 margin-top="1em"><a name="basic">Basic Concepts</a></h2> |
| 75 | 75 |
| 76 <h3 margin-top="1em"><a name="types">Values and Types</a></h3> | 76 <h3 margin-top="1em"><a name="types">Values and Types</a></h3> |
| 77 | 77 |
| 78 <p>Luan does not have the Lua <i>thread</i> type. Luan add a <i>binary</i> type that Lua doesn't have. This is because Lua strings can represent binary while Luan strings cannot.</p> | 78 <p>Luan does not have the Lua <i>thread</i> type. Luan adds a <i>binary</i> type that Lua doesn't have. This is because Lua strings can represent binary while Luan strings cannot.</p> |
| 79 | 79 |
| 80 <p>The Luan <i>Nil</i> type is implemented as the Java <i>null</i>. The Luan <i>Boolean</i> type is implemented as the Java <i>Boolean</i> type. The Luan <i>Number</i> type is implemented as the Java <i>Number</i> type. The Luan <i>String</i> type is implemented as the Java <i>String</i> type. Actual numbers may be any subclass of the Java <i>Number</i> class.</p> | 80 <p>The Luan <i>Nil</i> type is implemented as the Java <i>null</i>. The Luan <i>Boolean</i> type is implemented as the Java <i>Boolean</i> type. The Luan <i>Number</i> type is implemented as the Java <i>Number</i> type. The Luan <i>String</i> type is implemented as the Java <i>String</i> type. Actual numbers may be any subclass of the Java <i>Number</i> class.</p> |
| 81 | 81 |
| 82 <p>Luan functions may be written in Luan or may be wrappers around native Java methods. Any Java method may be called as a Luan function.</p> | 82 <p>Luan functions may be written in Luan or may be wrappers around native Java methods. Any Java method may be called as a Luan function.</p> |
| 83 | 83 |
