aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md11
-rwxr-xr-xdoc/docs/doc/README.md4
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 @@
2 2
3The 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. 3The 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
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
2622 2622
2623 -- not in range checking 2623 -- not in range checking
2624 when not in [1, 10) 2624 when not in [1, 10)
2625 print "not (1 < value <= 10)" 2625 print "not (1 <= value < 10)"
2626 2626
2627 -- checking discrete values 2627 -- checking discrete values
2628 when in {11, 21, 99} 2628 when in {11, 21, 99}
@@ -2643,7 +2643,7 @@ switch item
2643 2643
2644 -- not in range checking 2644 -- not in range checking
2645 when not in [1, 10) 2645 when not in [1, 10)
2646 print "not (1 < value <= 10)" 2646 print "not (1 <= value < 10)"
2647 2647
2648 -- checking discrete values 2648 -- checking discrete values
2649 when in {11, 21, 99} 2649 when in {11, 21, 99}