@@ -49,8 +49,8 @@ this is a multi-line comment
4949| String | ` str ` | ` "kawaii" ` |
5050| Number | ` num ` | ` 42 ` |
5151| Boolean | ` bool ` | ` true ` / ` false ` |
52- | Array | ` arr ` | ` ["ai" "chan" "cute"] ` |
53- | Object | ` obj ` | ` { foo: "bar"; a: 42; } ` |
52+ | Array | ` arr ` | ` ["ai", "chan", "cute"] ` |
53+ | Object | ` obj ` | ` { foo: "bar", a: 42 } ` |
5454| Null | ` null ` | ` null ` |
5555| Function | ` fn ` | ` @(x) { x } ` |
5656| Error | ` error ` | * (TODO)* |
@@ -92,7 +92,7 @@ print(message)
9292
9393## Arrays
9494
95- Declare arrays by listing expressions within ` [] ` , separated by spaces :
95+ Declare arrays by listing expressions within ` [] ` , separated by ` , ` :
9696
9797``` aiscript
9898["ai", "chan", "kawaii"]
@@ -110,7 +110,7 @@ let arr = ["ai", "chan", "kawaii"]
110110
111111Objects in AiScript are similar to associative arrays with string-only keys. Each element consists of a key and a value, called a ** property** .
112112
113- Write properties within ` {} ` , separated by ` , ` , ` ; ` , or whitespace . Use ` : ` to separate keys and values:
113+ Write properties within ` {} ` , separated by ` , ` or newlines . Use ` : ` to separate keys and values:
114114
115115``` aiscript
116116{
0 commit comments