Symbol description inference

Alexander Jones alex at weej.com
Tue Oct 25 23:40:45 UTC 2016


IMO, the real problem that needs solving is macros. Macro-based definition
of a symbol could trivially reuse the name.

On Tuesday, 25 October 2016, Allen Wirfs-Brock <allen at wirfs-brock.com>
wrote:

> Function name inferencing is possible because function definitions are all
> syntactic special forms that can be unambiguously identified during parsing.
>
> Symbols creation is just a function call so there is no way to reliably
> detect it.  `Symbol` might aliased to some other name by assignment, a
> different value other than the Symbol creation function might be assigned
> to the global `Symbol`, or some alternative declaration of `Symbol` might
> be in some at the point of use.
>
> Allen
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org <javascript:;>
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20161026/34e82bae/attachment.html>


More information about the es-discuss mailing list