aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_compiler.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add support for local variable declared with attribute 'close' and 'const' ↵Li Jin2020-06-221-2/+57
| | | | for Lua 5.4.
* change operator precedence to [1].^ [2].unary operators (not, #, -, ~) ↵Li Jin2020-05-291-236/+228
| | | | | | | [3].|> [4].*, /, //, %, ... fix destructure with one table variable to operator-value expression. fix simple chain value with Lua keyword colon chain item.
* make back call operator use highest priority for operator precedence.Li Jin2020-05-261-62/+107
|
* fix issue of unary and binary operator "~".Li Jin2020-05-141-1/+1
|
* fix Moonscript issue 416: ambiguous Lua output in some cases.Li Jin2020-05-021-2/+33
|
* add existential op support for with statement, add repeat until statement.Li Jin2020-04-261-3/+23
|
* fix errors when explicitly declaring global or local variable initialized ↵Li Jin2020-04-241-3/+13
| | | | with table block.
* allow implicit return block macro, fix compiled Lua codes searching issue.Li Jin2020-04-211-11/+16
|
* add useSpaceOverTab option for compiler, add variadic arguments declaration ↵Li Jin2020-03-301-17/+36
| | | | check, fix assignment with backcall expr not well handled issue.
* fix an existential op issue and add case.Li Jin2020-03-281-4/+4
|
* fix issue #9.Li Jin2020-03-271-0/+1
|
* fix moonp repl issue.Li Jin2020-03-271-4/+4
|
* remove else branch support for appendix syntax.Li Jin2020-03-261-17/+5
|
* add goto statement support.Li Jin2020-03-241-1/+11
|
* add support for macro system expanding to Lua codes directly.Li Jin2020-03-231-30/+55
|
* clean up.Li Jin2020-03-211-37/+22
|
* fix line break issue in macro, disable macro declaration outside root scope.Li Jin2020-03-121-5/+9
|
* fix macro type mismatch issue.Li Jin2020-03-121-7/+23
|
* add macro functions.Li Jin2020-03-111-56/+605
|
* move functions of old export statement to global statement, make export ↵Li Jin2020-03-051-35/+157
| | | | statement work with Lua module system.
* add fat arrow support for backcall statement.Li Jin2020-02-261-2/+3
|
* add placeholder support for backcall statement.Li Jin2020-02-231-4/+26
|
* change some interfaces.Li Jin2020-02-221-5/+12
|
* allow value lists in for statement and in local statement to be multiline ↵Li Jin2020-02-201-1/+1
| | | | got Moonscript issue 390 fixed.
* did some clean up.Li Jin2020-02-181-19/+18
|
* remove the extra type id system.Li Jin2020-02-181-1/+4
|
* refactor some codes to be safer.Li Jin2020-02-171-201/+207
|
* force forward declaration of variable for assigning local function.Li Jin2020-02-151-37/+13
|
* add placeholder support for backcall operator.Li Jin2020-02-141-3/+19
|
* releasing moonplus as a lib.Li Jin2020-02-071-14/+19
|
* fix some cases when using backcall with assignment.Li Jin2020-02-031-143/+117
|
* cleanup format.Li Jin2020-01-311-1/+1
|
* make gcc happy.Li Jin2020-01-301-1/+1
|
* fixLi Jin2020-01-301-17/+15
|
* Separate MoonParser from MoonCompiler, make moonc compile multiple file in ↵Li Jin2020-01-301-243/+158
| | | | threads.
* fix typo.Li Jin2020-01-281-20/+20
|
* fix some special cases for backcall.Li Jin2020-01-281-64/+93
|
* fix empty Body issue.Li Jin2020-01-281-6/+6
|
* fix again.Li Jin2020-01-281-0/+2
|
* Add multi-line comment support. Add escape new line symbol. Add back call ↵Li Jin2020-01-281-7/+131
| | | | syntax.
* fix Moonscript issue 375.Li Jin2020-01-251-0/+1
|
* fix more chain value case.Li Jin2020-01-251-3/+4
|
* fix chain value issue.Li Jin2020-01-251-12/+29
|
* fix issues.Li Jin2020-01-241-39/+94
|
* fix Moonscript issue 156, update new 'import' functions.Li Jin2020-01-231-139/+209
|
* fix Moonscript issue 122, add support for ? operator.Li Jin2020-01-181-151/+357
|
* remove codes to be compatible with old version.Li Jin2020-01-131-17/+7
|
* forbid exprlist appears in the left part of update statement.Li Jin2020-01-131-0/+1
|
* fix Moonscript issue 384.Li Jin2020-01-131-11/+42
|
* update.Li Jin2020-01-101-0/+3865