aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4c80a4d..34f435c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,49 @@
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.10.17
6
7### Added Features
8
9* Yuescript to AST function (`yue.to_ast`)
10 ```moonscript
11 yue.p yue.to_ast "print 123"
12 ```
13 Prints:
14 ```
15 {
16 [1] = "file"
17 [2] = {
18 [1] = "callable"
19 [2] = "print"
20 }
21 [3] = {
22 [1] = "invoke_args"
23 [2] = "123"
24 }
25 }
26 ```
27
28## v0.10.16
29
30### Fixed Issues
31
32* Prevent text mode macros from inserting line numbers into generated code.
33 ```moonscript
34 macro text = (code) -> {
35 :code
36 type: "text"
37 }
38
39 $text[["hi"]]
40 nil
41 ```
42 Compiles to:
43 ```
44 print "hi"
45 return nil -- 8
46 ```
47
5## v0.10.15 48## v0.10.15
6 49
7### Fixed Issues 50### Fixed Issues