aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_parser.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add support for local variable declared with attribute 'close' and 'const' ↵Li Jin2020-06-221-1/+10
| | | | for Lua 5.4.
* change operator precedence to [1].^ [2].unary operators (not, #, -, ~) ↵Li Jin2020-05-291-14/+23
| | | | | | | [3].|> [4].*, /, //, %, ... fix destructure with one table variable to operator-value expression. fix simple chain value with Lua keyword colon chain item.
* fix issue of unary and binary operator "~".Li Jin2020-05-141-5/+6
|
* fix Moonscript issue 416: ambiguous Lua output in some cases.Li Jin2020-05-021-1/+2
|
* add existential op support for with statement, add repeat until statement.Li Jin2020-04-261-5/+5
|
* fix errors when explicitly declaring global or local variable initialized ↵Li Jin2020-04-241-2/+2
| | | | with table block.
* remove else branch support for appendix syntax.Li Jin2020-03-261-2/+2
|
* add REPL support for moonp.Li Jin2020-03-261-1/+1
|
* add goto statement support.Li Jin2020-03-241-10/+23
|
* add support for macro system expanding to Lua codes directly.Li Jin2020-03-231-3/+3
|
* add macro functions.Li Jin2020-03-111-17/+51
|
* move functions of old export statement to global statement, make export ↵Li Jin2020-03-051-25/+49
| | | | statement work with Lua module system.
* add fat arrow support for backcall statement.Li Jin2020-02-261-1/+2
|
* change some interfaces.Li Jin2020-02-221-3/+3
|
* fix comments issue.Li Jin2020-02-201-4/+4
|
* allow value lists in for statement and in local statement to be multiline ↵Li Jin2020-02-201-5/+5
| | | | got Moonscript issue 390 fixed.
* allow value list in assignment to be multiline fixing Moonscript issue 390.Li Jin2020-02-201-1/+1
|
* remove the extra type id system.Li Jin2020-02-181-0/+1
|
* enable explist to be multi-line without backslash. confirmed there is no ↵Li Jin2020-02-031-5/+4
| | | | similar issue like Moonscript issue 202 or issue 391.
* add MultiLineComment support in EscapeNewLine.Li Jin2020-02-021-2/+2
|
* make gcc happy.Li Jin2020-01-301-10/+10
|
* Separate MoonParser from MoonCompiler, make moonc compile multiple file in ↵Li Jin2020-01-301-462/+510
| | | | threads.
* Add multi-line comment support. Add escape new line symbol. Add back call ↵Li Jin2020-01-281-5/+14
| | | | syntax.
* fix Moonscript issue 375.Li Jin2020-01-251-2/+2
|
* fix Moonscript issue 156, update new 'import' functions.Li Jin2020-01-231-7/+14
|
* fix Moonscript issue 122, add support for ? operator.Li Jin2020-01-181-7/+8
|
* remove codes to be compatible with old version.Li Jin2020-01-131-1/+1
|
* update.Li Jin2020-01-101-0/+526