moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

Any chance we could get a existance operator and a pipe operator

Open cosmotek opened this issue 4 years ago • 1 comments

Really cool language, I really enjoy writing it... that being said, I would absolutely love to see a nil check/existence operator (maybe ?) and a pipe operator (similar to Elixir |>). If the work was done, is this project open to any feature additions?

cosmotek avatar Oct 08 '21 04:10 cosmotek

YueScript extends MoonScript with support for both of these, among other things. It seems to borrow from LiveScript.

Seirdy avatar Mar 15 '23 20:03 Seirdy