aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-10-21 23:44:50 +0800
committerLi Jin <dragon-fly@qq.com>2020-10-21 23:44:50 +0800
commitb6725202f4a8cac5f829dac9a72a81f3ff73e787 (patch)
treec173accb869b60cba14babc7685284864bc80426 /README.md
parent0777356cbe599b3f88bdfa476e3ffa64bb3a3a8c (diff)
downloadyuescript-b6725202f4a8cac5f829dac9a72a81f3ff73e787.tar.gz
yuescript-b6725202f4a8cac5f829dac9a72a81f3ff73e787.tar.bz2
yuescript-b6725202f4a8cac5f829dac9a72a81f3ff73e787.zip
extend macro feature to support compiling Moonscript to other Lua dialect like teal.
add examples for how to write MoonPlus codes that compile to teal. fix C++ macro to build without MoonPlus macro feature or built-in Lua. add support for passing arguments from command line to compiler that can be accessed or altered by "require('moonp').options".
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index 0ccf9fe..a45a852 100644
--- a/README.md
+++ b/README.md
@@ -62,11 +62,20 @@ f!
62* **Binary Tool** 62* **Binary Tool**
63 63
64&emsp;&emsp;Clone this repo, then build and install executable with: 64&emsp;&emsp;Clone this repo, then build and install executable with:
65
66```sh 65```sh
67> make install 66> make install
68``` 67```
69 68
69&emsp;&emsp;Build MoonPlus tool without macro feature:
70```sh
71> make install NO_MACRO=true
72```
73
74&emsp;&emsp;Build MoonPlus tool without built-in Lua binary:
75```sh
76> make install NO_LUA=true
77```
78
70&emsp;&emsp;Use MoonPlus tool with: 79&emsp;&emsp;Use MoonPlus tool with:
71 80
72```sh 81```sh