aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_compiler.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* stop reusing variables, rename project.Li Jin2021-02-171-5622/+0
|
* fix some ambiguous syntax.Li Jin2021-02-151-20/+42
|
* fix local statement used with line decorator issue.Li Jin2021-02-101-27/+60
|
* fix issue #38 with a better solution.Li Jin2021-02-101-1/+1
|
* update backcall operator syntax, fix issue #31.Li Jin2021-02-101-8/+96
|
* partially fix another issue from issue #38.Li Jin2021-02-091-1/+2
|
* limit the use of text macro.Li Jin2021-02-081-5/+5
|
* simplify macro syntax. fix issue #38 again.Li Jin2021-02-081-120/+125
|
* fix #38Li Jin2021-02-061-3/+13
|
* fix issue #37.Li Jin2021-01-281-1/+1
|
* fix issue #36Li Jin2021-01-221-4/+7
|
* fix issue #34.Li Jin2021-01-111-1/+2
|
* update year.Li Jin2021-01-051-1/+1
|
* fix.Li Jin2021-01-051-18/+18
|
* fix issue #30Li Jin2020-11-031-1/+2
|
* fix issue #29Li Jin2020-11-031-10/+9
|
* extend macro feature to support compiling Moonscript to other Lua dialect ↵Li Jin2020-10-211-38/+160
| | | | | | | | 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-2/+9
|
* add support to import all macros from a module with symbol '$' in import-as ↵Li Jin2020-10-151-18/+38
| | | | | | statement. fix import macro rename issue.
* change file extension moonp.Li Jin2020-10-081-4/+3
|
* support inserting common expression item started with * symbol into a table ↵Li Jin2020-09-181-1/+1
| | | | block.
* add a compiler flag to disable macro feature and support linking without Lua.Li Jin2020-09-171-6/+45
|
* make simple table and table block appear in the end of function arguments ↵Li Jin2020-09-171-1/+32
| | | | merged.
* add implicit objects support while writing tables.Li Jin2020-09-111-1/+6
|
* reserve the same Moonscript coma separated expressions behaviors.Li Jin2020-08-201-1/+1
|
* 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-1/+1
| | | | started with an unary expression.
* remove support for escape new line symbol, binary operator expressions can ↵Li Jin2020-08-061-1/+1
| | | | now be written multiline without escape new line symbol.
* clean up.Li Jin2020-08-061-4/+5
|
* fix case for extending class without name.Li Jin2020-08-051-2/+2
|
* fix issue for using return statement with export.Li Jin2020-07-181-1/+29
|
* fixed a missed case for multiline string as table key. reporting use of ↵Li Jin2020-07-171-4/+13
| | | | global variable 'tostring' .
* fix compile error for "t = { [ [[abc]] ] : 42 }", make "t = {[[abc]]:42}" ↵Li Jin2020-07-061-3/+7
| | | | valid codes.
* fix issue when declaring multiple variables with attribute.Li Jin2020-06-301-2/+5
|
* 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
|