diff options
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ | |||
1 | # MoonPlus | 1 | # MoonPlus |
2 | 2 | ||
3 |  | 3 |  |
4 | MoonPlus is a compiler for Moonscript language 0.5.0 written in C++ which could be 2~4 times faster than the original Moonscript compiler written in Moonscript. | 4 | MoonPlus is a compiler adopting features from Moonscript language 0.5.0 and could be 2~4 times faster than the original Moonscript compiler. |
5 | 5 | ||
6 | ## Features | 6 | ## Features |
7 | 7 | ||
@@ -23,7 +23,7 @@ local _call_4 = _call_3["then"](_call_3, "xyz") | |||
23 | _call_4["else"](_call_4, res) | 23 | _call_4["else"](_call_4, res) |
24 | ``` | 24 | ``` |
25 | 25 | ||
26 | * Add a compiler flag `reuseVariable` which can help generate reduced Lua codes. For example, when set `reuseVariable` to `true`, MoonPlus will generate codes from: | 26 | * Add feature of `reusing variable` which helps generate reduced Lua codes. For example, MoonPlus will generate codes from: |
27 | ```Moonscript | 27 | ```Moonscript |
28 | with leaf | 28 | with leaf |
29 | .world 1,2,3 | 29 | .world 1,2,3 |