diff options
author | Li Jin <dragon-fly@qq.com> | 2020-10-21 23:44:50 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2020-10-21 23:44:50 +0800 |
commit | b6725202f4a8cac5f829dac9a72a81f3ff73e787 (patch) | |
tree | c173accb869b60cba14babc7685284864bc80426 /README.md | |
parent | 0777356cbe599b3f88bdfa476e3ffa64bb3a3a8c (diff) | |
download | yuescript-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.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -62,11 +62,20 @@ f! | |||
62 | * **Binary Tool** | 62 | * **Binary Tool** |
63 | 63 | ||
64 |   Clone this repo, then build and install executable with: | 64 |   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 |   Build MoonPlus tool without macro feature: | ||
70 | ```sh | ||
71 | > make install NO_MACRO=true | ||
72 | ``` | ||
73 | |||
74 |   Build MoonPlus tool without built-in Lua binary: | ||
75 | ```sh | ||
76 | > make install NO_LUA=true | ||
77 | ``` | ||
78 | |||
70 |   Use MoonPlus tool with: | 79 |   Use MoonPlus tool with: |
71 | 80 | ||
72 | ```sh | 81 | ```sh |