aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.md b/README.md
index 7421829..7786bc7 100644
--- a/README.md
+++ b/README.md
@@ -47,18 +47,7 @@ if print and (x ~= nil) then
47end 47end
48``` 48```
49 49
50* Can do slash call with Lua keywords. Generate codes from: 50* Add more features for `import` keyword. Will compile codes from:
51```Moonscript
52c.repeat.if\then("xyz")\else res
53```
54  to:
55```Lua
56local _call_3 = c["repeat"]["if"]
57local _call_4 = _call_3["then"](_call_3, "xyz")
58_call_4["else"](_call_4, res)
59```
60
61* Add more usage for `import` keyword. Will compile codes from:
62```Moonscript 51```Moonscript
63import 'module' 52import 'module'
64import "module.part" 53import "module.part"
@@ -79,6 +68,17 @@ do
79end 68end
80``` 69```
81 70
71* Can do slash call with Lua keywords. Generate codes from:
72```Moonscript
73c.repeat.if\then("xyz")\else res
74```
75  to:
76```Lua
77local _call_3 = c["repeat"]["if"]
78local _call_4 = _call_3["then"](_call_3, "xyz")
79_call_4["else"](_call_4, res)
80```
81
82* Add feature of `reusing variable` which helps generate reduced Lua codes. For example, MoonPlus will generate codes from: 82* Add feature of `reusing variable` which helps generate reduced Lua codes. For example, MoonPlus will generate codes from:
83```Moonscript 83```Moonscript
84with leaf 84with leaf