moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

add escape for @ and @@ accessors

Open natnat-mc opened this issue 5 years ago • 1 comments

This patches #384 and adds support for lua keywords with @ and @@ accessors.

natnat-mc avatar Feb 17 '20 19:02 natnat-mc

Thanks for suggesting the change.

I pushed a fix for the field access. I'll have to visit the other cases later. I don't like the idea of embedding syntax into the value compiler, it should be part of transformation.

leafo avatar Nov 04 '22 20:11 leafo