pigpigyyy / Yuescript

A Moonscript dialect compiles to Lua.
http://yuescript.org
MIT License
424 stars 35 forks source link

Object literals in README #165

Closed snan closed 3 months ago

snan commented 3 months ago

They're not implicit since they're explicitly instantiated via a literal.

vendethiel commented 3 months ago

The {}s are implicit

pigpigyyy commented 3 months ago

This syntax is taken from https://livescript.net. And they named it implicit objects though it's actually another literal form of objects. I think this description is also acceptable.