diff options
| author | snan <sandra.snan@idiomdrottning.org> | 2024-03-19 02:17:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-19 09:17:47 +0800 |
| commit | a291e14a5dc25cbe517a3fa3f2a5f33b2cfe05ba (patch) | |
| tree | 97eb926bc67070dff9ebe463ae467fffd11ed59f /doc/docs | |
| parent | 8279fa0231a5f4f2d34c46863462ab7228b9a338 (diff) | |
| download | yuescript-a291e14a5dc25cbe517a3fa3f2a5f33b2cfe05ba.tar.gz yuescript-a291e14a5dc25cbe517a3fa3f2a5f33b2cfe05ba.tar.bz2 yuescript-a291e14a5dc25cbe517a3fa3f2a5f33b2cfe05ba.zip | |
Object literals in README (#165)
They're not implicit since they're explicitly instantiated via
a literal.
Diffstat (limited to 'doc/docs')
| -rwxr-xr-x | doc/docs/doc/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 5ffd8af..d51277c 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md | |||
| @@ -18,7 +18,7 @@ Yue (ζ) is the name of moon in Chinese and it's pronounced as [jyΙ]. | |||
| 18 | -- import syntax | 18 | -- import syntax |
| 19 | import "yue" as :p, :to_lua | 19 | import "yue" as :p, :to_lua |
| 20 | 20 | ||
| 21 | -- implicit objects | 21 | -- object literals |
| 22 | inventory = | 22 | inventory = |
| 23 | equipment: | 23 | equipment: |
| 24 | * "sword" | 24 | * "sword" |
| @@ -50,7 +50,7 @@ export π = "ζδΉθζ¬" | |||
| 50 | -- import syntax | 50 | -- import syntax |
| 51 | import "yue" as :p, :to_lua | 51 | import "yue" as :p, :to_lua |
| 52 | 52 | ||
| 53 | -- implicit objects | 53 | -- object literals |
| 54 | inventory = | 54 | inventory = |
| 55 | equipment: | 55 | equipment: |
| 56 | * "sword" | 56 | * "sword" |
