espruino / Espruino

The Espruino JavaScript interpreter - Official Repo
http://www.espruino.com/
Other
2.8k stars 749 forks source link

Support for labels #434

Open gfwilliams opened 10 years ago

gfwilliams commented 10 years ago

They were left out because people generally don't use them now, but it looks like the Closure compiler sometimes uses them as a way to compact code.

MaBecker commented 5 years ago

Is this still relevant?

gfwilliams commented 5 years ago

I haven't seen them used in a long long time, but it's still part of the spec. I was kind of hoping they'd remove it in 'strict mode' or something like that, but it's still very much core spec.

mfikes commented 5 years ago

The ESP32 WROVERs (with the additional RAM) are a viable target for CloureScript on Espruino. ClojureScript uses Closure Compiler, so this label issue crops up in that scenario.