Li Jin

Results 161 comments of Li Jin

'reserve_comment' was added in module. Should be available as ```lua local yue = require("yue") print yue.to_lua([[ -- a comment f = -> ]], {reserve_comment = true}) ```

"preserve" and "reserve" both have the meaning of keeping something, while "reserve" is just for keeping something for future use, the "preserve" word has more meaning of keeping something from...

Tried to add this feature, if you use vararg mutiple times in a same scope. You will get you're code block actually split in multiple anonymous functions. ```moonscript list =...

Fixed the behavior of varargs with inline expression to be the same as assignment statement with 33260af2175004347a3b9345b67727e596c6fffd. ```moonscript a = 1 if true ... = 1, 2 if a print...

I agree with you for raising errors when using vararg assignment with line decorator. There is no way to tell the difference between: ```moonscript a = 1 cond = false...

> Then one idea pop into my mind, why not make YueScript more AI and copy friendly by support more Python, Lua or other lanagues common syntax, notation and make...

Got a little problem for list syntax with `[]`. Currently in Yuescript: ```moonscript with tb -- this is a valid indexing syntax inside a "with" block -- so we have...

The in-range symbols were introduced from mathematics symbols. Yes it seems to be weird for a programing language. I just picked them because they cost less character to type but...

fixed duplicated `target_link_libraries` via 2063353f773dd759c9151565272357c8e608c297, updated luarocks realease.

Added [chaining comparisons](https://yuescript.org/doc/#chaining-comparisons) and list syntax `[]` with disallowing key value pairs in it. ```moonscript list_with_only_one_element = [1,] tb = [ 1 2 3 abc: 123 -- will report error...