aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md29
1 files changed, 8 insertions, 21 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0154124..698921f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,10 +4,13 @@ The implementation for original Moonscript language 0.5.0 can be found in the `0
4 4
5 5
6 6
7## v0.4.4 7## v0.4.7
8 8
9### Fixed Issues 9### Fixed Issues
10 10
11* Remove support for escape new line symbol, binary operator expressions can now be written multiline without escape new line symbol.
12* Fix an issue when extending class without name.
13* Fix an issue when using return with export statement.
11* Fix issues when declaring table key with Lua multiline string and indexing expressions with Lua multiline string. 14* Fix issues when declaring table key with Lua multiline string and indexing expressions with Lua multiline string.
12 15
13### Added Features 16### Added Features
@@ -229,29 +232,13 @@ Fix issues in original Moonscript compiler:
229### Added Features 232### Added Features
230 233
231* Multi-line comment support. 234* Multi-line comment support.
232* Usage for symbol `\` to escape new line. Will compile codes:
233```Moonscript
234str = --[[
235 This is a multi line comment.
236 It's OK.
237]] strA \ -- comment 1
238 .. strB \ -- comment 2
239 .. strC
240
241func --[[ip]] "192.168.126.110", --[[port]] 3000
242```
243  to:
244```Lua
245local str = strA .. strB .. strC
246func("192.168.126.110", 3000)
247```
248 235
249* Back call features with new operator and syntax. For example: 236* Back call features with new operator and syntax. For example:
250```Moonscript 237```Moonscript
251{1,2,3} \ 238{1,2,3}
252 |> map((x)-> x * 2) \ 239 |> map((x)-> x * 2)
253 |> filter((x)-> x > 4) \ 240 |> filter((x)-> x > 4)
254 |> reduce(0, (a,b)-> a + b) \ 241 |> reduce(0, (a,b)-> a + b)
255 |> print 242 |> print
256 243
257do 244do