aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2022-05-12 17:27:59 +0800
committerLi Jin <dragon-fly@qq.com>2022-05-12 17:27:59 +0800
commitde8f67340f58f8b2ca3fbea77af39e0a5b022abe (patch)
tree5199405b5c6735e5c3dbc77b6412a1e426ab2d4e
parentbc1162bc489477c20ac9e51d3d48ab438c14b45d (diff)
downloadyuescript-de8f67340f58f8b2ca3fbea77af39e0a5b022abe.tar.gz
yuescript-de8f67340f58f8b2ca3fbea77af39e0a5b022abe.tar.bz2
yuescript-de8f67340f58f8b2ca3fbea77af39e0a5b022abe.zip
fix changelog.
-rw-r--r--CHANGELOG.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 34f435c..12baa60 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,7 +8,10 @@ The implementation for the original Moonscript language 0.5.0 can be found in th
8 8
9* Yuescript to AST function (`yue.to_ast`) 9* Yuescript to AST function (`yue.to_ast`)
10 ```moonscript 10 ```moonscript
11 yue.p yue.to_ast "print 123" 11 yue.p yue.to_ast(
12 "print 123"
13 2 --[[ast flatten level, can only be 0, 1, 2]]
14 )
12 ``` 15 ```
13 Prints: 16 Prints:
14 ``` 17 ```
@@ -35,13 +38,13 @@ The implementation for the original Moonscript language 0.5.0 can be found in th
35 :code 38 :code
36 type: "text" 39 type: "text"
37 } 40 }
38 41
39 $text[["hi"]] 42 $text[[#!yue -e]]
40 nil 43 nil
41 ``` 44 ```
42 Compiles to: 45 Compiles to:
43 ``` 46 ```
44 print "hi" 47 #!yue -e
45 return nil -- 8 48 return nil -- 8
46 ``` 49 ```
47 50