aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index ea8b301..2385a11 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
1# MoonPlus 1# MoonPlus
2 2
3![CI](https://github.com/pigpigyyy/MoonPlus/workflows/build-test/badge.svg) 3![CI](https://github.com/pigpigyyy/MoonPlus/workflows/build-test/badge.svg)
4MoonPlus 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. 4MoonPlus 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
28with leaf 28with leaf
29 .world 1,2,3 29 .world 1,2,3