aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_parser.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix some ambiguous syntax.Li Jin2021-02-151-27/+42
|
* fix issue #38 with a better solution.Li Jin2021-02-101-2/+20
|
* update backcall operator syntax, fix issue #31.Li Jin2021-02-101-3/+5
|
* partially fix another issue from issue #38.Li Jin2021-02-091-1/+2
|
* simplify macro syntax. fix issue #38 again.Li Jin2021-02-081-2/+1
|
* update year.Li Jin2021-01-051-1/+1
|
* fix issue #30Li Jin2020-11-031-1/+1
|
* extend macro feature to support compiling Moonscript to other Lua dialect ↵Li Jin2020-10-211-1/+1
| | | | | | | | 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".
* add a new macro type support to insert raw codes to output.Li Jin2020-10-151-11/+8
|
* add support to import all macros from a module with symbol '$' in import-as ↵Li Jin2020-10-151-26/+27
| | | | | | statement. fix import macro rename issue.
* support inserting common expression item started with * symbol into a table ↵Li Jin2020-09-181-1/+1
| | | | block.
* revert binary operator rules, change implicit object start symbol.Li Jin2020-09-111-2/+2
|
* add implicit objects support while writing tables.Li Jin2020-09-111-4/+6
|
* reserve the same Moonscript coma separated expressions behaviors.Li Jin2020-08-201-10/+11
|
* change white space rule in assignment list.Li Jin2020-08-071-1/+1
|
* fix a case multiline binary operator expression conflicts with new statement ↵Li Jin2020-08-061-3/+3
| | | | started with an unary expression.
* remove support for escape new line symbol, binary operator expressions can ↵Li Jin2020-08-061-6/+5
| | | | now be written multiline without escape new line symbol.
* fix compile error for "t = { [ [[abc]] ] : 42 }", make "t = {[[abc]]:42}" ↵Li Jin2020-07-061-1/+2
| | | | valid codes.
* 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