aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6b44dae..9ac9811 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +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.17.0
6
7### Added Features
8
9* Added In-expression syntax to do range checking. In-expression can be used in switch statement as a new clause.
10 ```moonscript
11 a = 5
12 if a in [1, 10] or a in (20, 30) or a in {77, 88} or a not in {100, 200}
13 print "(1 <= a <= 10) or (20 < a < 30) or (a == 77 or a == 88) or not (a == 100 or a == 200)"
14
15 switch a when not in [1, 10]
16 print "not (1 <= a <= 10)"
17 ```
18* Added metamethod name checking for chain expression.
19
20### Fixed Issues
21
22* Fixed a LuaJIT module loading issue.
23* Fixed built-in $FILE macro does not escape backslash on Windows.
24
5## v0.16.4 25## v0.16.4
6 26
7### Added Features 27### Added Features