aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2023-06-07 11:53:01 +0800
committerLi Jin <dragon-fly@qq.com>2023-06-07 11:53:01 +0800
commit5d246757285a437401347dd6a1a1f8d3cf61e08c (patch)
tree20acad2b362f78245b61e92e003be7cdebecbb28 /CHANGELOG.md
parent2a3e50752ade96c3b5d6b1103937bef0f6b31157 (diff)
downloadyuescript-0.17.0.tar.gz
yuescript-0.17.0.tar.bz2
yuescript-0.17.0.zip
update docs.v0.17.0
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