spec: What is the definition of a symbol?
H. S. Teoh
hsteoh at quickfur.ath.cx
Fri Nov 20 19:25:26 UTC 2020
On Fri, Nov 20, 2020 at 07:10:41PM +0000, Max Haughton via Digitalmars-d wrote:
> On Friday, 20 November 2020 at 19:03:30 UTC, Dibyendu Majumdar wrote:
> > The language spec uses the term symbol but I don't think this term is
> > defined anywhere.
> >
> > What would be the best way to define it (other than saying it is a
> > symbol in symbol table in the compiler)?
>
> Anything other than an expression?
A symbol is not an expression. It may *refer* to an expression, though.
T
--
"Real programmers can write assembly code in any language. :-)" -- Larry Wall
More information about the Digitalmars-d
mailing list