diff options
author | Li Jin <dragon-fly@qq.com> | 2020-04-08 16:55:50 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-04-08 16:55:50 +0800 |
commit | ab3f56be961531d92027319b0f906bfd8c167e2e (patch) | |
tree | 72fb57a69e2401a63693db612005ad1f1d921306 /CHANGELOG.md | |
parent | 36e3cb3b98b5686ae8a96b92a45277f8977e71d7 (diff) | |
download | yuescript-ab3f56be961531d92027319b0f906bfd8c167e2e.tar.gz yuescript-ab3f56be961531d92027319b0f906bfd8c167e2e.tar.bz2 yuescript-ab3f56be961531d92027319b0f906bfd8c167e2e.zip |
add Lua code minify function to moonp.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ec9a47..510ca9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
@@ -4,13 +4,14 @@ The implementation for original Moonscript language 0.5.0 can be found in the `0 | |||
4 | 4 | ||
5 | 5 | ||
6 | 6 | ||
7 | ## v0.3.7 | 7 | ## v0.3.8 |
8 | 8 | ||
9 | ### Fixed Issues | 9 | ### Fixed Issues |
10 | 10 | ||
11 | * Fix macro type mismatch issue. | 11 | * Fix macro type mismatch issue. |
12 | * Fix line break issue in macro, disable macro declaration outside the root scope. | 12 | * Fix line break issue in macro, disable macro declaration outside the root scope. |
13 | * Fix existential operator issue when used in operator-value list. | 13 | * Fix existential operator issue when used in operator-value list. |
14 | * Fix assignment with backcall expr not well handled issue. | ||
14 | 15 | ||
15 | 16 | ||
16 | 17 | ||
@@ -18,8 +19,11 @@ The implementation for original Moonscript language 0.5.0 can be found in the `0 | |||
18 | 19 | ||
19 | * Add support for macro system expanding to Lua codes directly. | 20 | * Add support for macro system expanding to Lua codes directly. |
20 | * Add goto statement support. | 21 | * Add goto statement support. |
22 | * Add variadic arguments declaration check. | ||
21 | * `moonp` now supports recursively traversing any directory and compiling any moon file in the path. | 23 | * `moonp` now supports recursively traversing any directory and compiling any moon file in the path. |
22 | * `moonp` now supports REPL functions for Moonscript. | 24 | * `moonp` now supports REPL functions for Moonscript. |
25 | * Add `useSpaceOverTab` function to `moonp`. | ||
26 | * Add Lua codes minify function to `moonp`. | ||
23 | 27 | ||
24 | 28 | ||
25 | 29 | ||
@@ -183,7 +187,6 @@ Fix issues in original Moonscript compiler: | |||
183 | ### Added Features | 187 | ### Added Features |
184 | 188 | ||
185 | * Multi-line comment support. | 189 | * Multi-line comment support. |
186 | |||
187 | * Usage for symbol `\` to escape new line. Will compile codes: | 190 | * Usage for symbol `\` to escape new line. Will compile codes: |
188 | ```Moonscript | 191 | ```Moonscript |
189 | str = --[[ | 192 | str = --[[ |
@@ -373,7 +376,6 @@ end | |||
373 | ``` | 376 | ``` |
374 | 377 | ||
375 | * Reusing variables which helps generate reduced Lua codes. | 378 | * Reusing variables which helps generate reduced Lua codes. |
376 | |||
377 | For example, MoonPlus will generate codes from: | 379 | For example, MoonPlus will generate codes from: |
378 | 380 | ||
379 | ```Moonscript | 381 | ```Moonscript |