aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_ast.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* stop reusing variables, rename project.Li Jin2021-02-171-750/+0
|
* fix some ambiguous syntax.Li Jin2021-02-151-9/+12
|
* fix local statement used with line decorator issue.Li Jin2021-02-101-0/+2
|
* update backcall operator syntax, fix issue #31.Li Jin2021-02-101-1/+7
|
* partially fix another issue from issue #38.Li Jin2021-02-091-1/+1
|
* simplify macro syntax. fix issue #38 again.Li Jin2021-02-081-5/+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-9/+1
|
* add support to import all macros from a module with symbol '$' in import-as ↵Li Jin2020-10-151-9/+31
| | | | | | statement. fix import macro rename issue.
* support inserting common expression item started with * symbol into a table ↵Li Jin2020-09-181-1/+1
| | | | block.
* add implicit objects support while writing tables.Li Jin2020-09-111-1/+7
|
* 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-12/+21
| | | | | | | [3].|> [4].*, /, //, %, ... fix destructure with one table variable to operator-value expression. fix simple chain value with Lua keyword colon chain item.
* fix Moonscript issue 416: ambiguous Lua output in some cases.Li Jin2020-05-021-3/+7
|
* add existential op support for with statement, add repeat until statement.Li Jin2020-04-261-2/+10
|
* fix errors when explicitly declaring global or local variable initialized ↵Li Jin2020-04-241-2/+3
| | | | with table block.
* allow implicit return block macro, fix compiled Lua codes searching issue.Li Jin2020-04-211-0/+1
|
* remove else branch support for appendix syntax.Li Jin2020-03-261-5/+4
|
* add goto statement support.Li Jin2020-03-241-1/+16
|
* add macro functions.Li Jin2020-03-111-12/+50
|
* move functions of old export statement to global statement, make export ↵Li Jin2020-03-051-8/+18
| | | | statement work with Lua module system.
* add fat arrow support for backcall statement.Li Jin2020-02-261-1/+6
|
* did some clean up.Li Jin2020-02-181-3/+3
|
* remove the extra type id system.Li Jin2020-02-181-19/+5
|
* change method to generate unique type id.Li Jin2020-02-171-7/+10
|
* refactor some codes to be safer.Li Jin2020-02-171-108/+119
|
* Separate MoonParser from MoonCompiler, make moonc compile multiple file in ↵Li Jin2020-01-301-3/+2
| | | | threads.
* Add multi-line comment support. Add escape new line symbol. Add back call ↵Li Jin2020-01-281-2/+14
| | | | syntax.
* fix Moonscript issue 375.Li Jin2020-01-251-1/+2
|
* fix Moonscript issue 156, update new 'import' functions.Li Jin2020-01-231-2/+23
|
* fix Moonscript issue 122, add support for ? operator.Li Jin2020-01-181-1/+4
|
* update.Li Jin2020-01-101-0/+587