Yuescript
Yuescript copied to clipboard
A Moonscript dialect compiles to Lua.
**Platform:** Linux **Description:** When in repl (`yue`) Ctrl+z prints a replacement character instead of pausing the job 
It would be great if YueScript implemented this skip unneeded member in list-like collection destruction. EX: ```MoonScript txt = "https://yuescript.org/try/" parts = [p for p in txt\gmatch "[%w]+"] {, domain,...
Luacode macros fail to compile with the response `lua macro can only be placed where block macro is allowed`. [Example from website fails to compile](https://yuescript.org/doc/#insert-raw-codes): ```moonscript macro lua = (code)->...
In JavaScript, the fill operator is a very handy thing: ```javascript const template = { foo: "Hello", bar: "World", baz: "!", }; const specialized = { ...template, bar: "Bob" };...
Currently all values that you're returning have to be on a single line, and don't support splitting them across lines like you can do with parameters in functions and function...
If an assert has a message after it and a space between the call and the brackets it will throw a syntax error. `assert (1==1, "Oopsies!")` ``` 1: syntax error...
I would like added features for mixins to make them more inline with direct inheritance in terms if power and flexibility. 1. The ability to override mixed in fields and...
It help will help me reduce a lot of typing and typo error. But I sometime use lua with other language like C# that count not from 1 but from...
YueScript currently emulates `continue` with a combination of `if` check and `repeat`. I propose refactoring the generated code with `goto`. This might save us from if checks and repeat loop....
Using pcall for error handling is pretty awkward, especially when other languages provide try catch blocks for such purposes. I recommend syntax of a similar manner, while still providing the...