diff options
author | Li Jin <dragon-fly@qq.com> | 2023-08-25 15:02:57 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2023-08-25 15:02:57 +0800 |
commit | 15055de0f780d77bdbf2ad7fc85a17de8af15893 (patch) | |
tree | 63f74967e32239f202fa0b0860ad0d429da9dcc3 /CHANGELOG.md | |
parent | cfcea12ba0e6a40d7c04ac64c75563db0896985c (diff) | |
download | yuescript-15055de0f780d77bdbf2ad7fc85a17de8af15893.tar.gz yuescript-15055de0f780d77bdbf2ad7fc85a17de8af15893.tar.bz2 yuescript-15055de0f780d77bdbf2ad7fc85a17de8af15893.zip |
update doc.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cd6dc7..e9f703d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -2,17 +2,26 @@ | |||
2 | 2 | ||
3 | The implementation for the original Moonscript language 0.5.0 can be found in the `0.5.0` branch of Yuescript. The Moonscript with fixes and new features is in the main branch of Yuescript. Here are the changelogs for each Yuescript version. | 3 | The implementation for the original Moonscript language 0.5.0 can be found in the `0.5.0` branch of Yuescript. The Moonscript with fixes and new features is in the main branch of Yuescript. Here are the changelogs for each Yuescript version. |
4 | 4 | ||
5 | ## v0.18.1 | 5 | ## v0.19.1 |
6 | 6 | ||
7 | ### Added Features | 7 | ### Added Features |
8 | 8 | ||
9 | * Added unicode identifier support. | ||
10 | |||
11 | ```moonscript | ||
12 | π = π·οΈ: "ζδΉθζ¬" | ||
13 | print π.π·οΈ | ||
14 | ``` | ||
15 | |||
9 | * Implemented '...' for variable declaration within scope using anonymous functions. | 16 | * Implemented '...' for variable declaration within scope using anonymous functions. |
17 | |||
10 | ```moonscript | 18 | ```moonscript |
11 | ok, ... = fn! | 19 | ok, ... = fn! |
12 | if ok | 20 | if ok |
13 | print select '#', ... | 21 | print select '#', ... |
14 | print select 1, ... | 22 | print select 1, ... |
15 | ``` | 23 | ``` |
24 | |||
16 | * Added close-variables support for Lua version targets below 5.4. | 25 | * Added close-variables support for Lua version targets below 5.4. |
17 | 26 | ||
18 | ## v0.17.10 | 27 | ## v0.17.10 |