From 15055de0f780d77bdbf2ad7fc85a17de8af15893 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 25 Aug 2023 15:02:57 +0800 Subject: update doc. --- CHANGELOG.md | 11 ++++++++++- doc/docs/doc/README.md | 4 ++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cd6dc7..e9f703d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,17 +2,26 @@ 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. -## v0.18.1 +## v0.19.1 ### Added Features +* Added unicode identifier support. + + ```moonscript + πŸŒ› = 🏷️: "ζœˆδΉ‹θ„šζœ¬" + print πŸŒ›.🏷️ + ``` + * Implemented '...' for variable declaration within scope using anonymous functions. + ```moonscript ok, ... = fn! if ok print select '#', ... print select 1, ... ``` + * Added close-variables support for Lua version targets below 5.4. ## v0.17.10 diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index fbf7e50..7372eda 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md @@ -2622,7 +2622,7 @@ switch item -- not in range checking when not in [1, 10) - print "not (1 < value <= 10)" + print "not (1 <= value < 10)" -- checking discrete values when in {11, 21, 99} @@ -2643,7 +2643,7 @@ switch item -- not in range checking when not in [1, 10) - print "not (1 < value <= 10)" + print "not (1 <= value < 10)" -- checking discrete values when in {11, 21, 99} -- cgit v1.2.3-55-g6feb