Lots of work on docs.

This commit is contained in:
Bob Nystrom
2014-01-20 21:44:51 -08:00
parent 90d1ed6aa6
commit 95d239cd21
9 changed files with 116 additions and 125 deletions
+3 -3
View File
@@ -15,7 +15,7 @@ A boolean value represents truth or falsehood. There are two boolean literals,
Like other scripting languages, Wren has a single numeric type: double-precision floating point. Number literals look like you expect coming from other languages:
:::wren
:::dart
0
1234
-5678
@@ -29,12 +29,12 @@ Numbers are instances of the `Num` class.
Strings are chunks of text. String literals are surrounded in double quotes:
:::wren
:::dart
"hi there"
A couple of escape characters are supported:
:::wren
:::dart
"\n" // Newline.
"\"" // A double quote character.
"\\" // A backslash.