Re: Metavariable [was: Help with --regex in locate]

2019-12-03 Thread tomas
On Tue, Dec 03, 2019 at 10:18:59AM -0500, Stefan Monnier wrote:
> > I think the canonical name is "metasyntactic variable" [1]. I've
> > seen also just "metavariable", although Wikipedia would say that
> > the latter belongs in the realm of logic [2], not programming.
> 
> AFAICT those two usages are one and the same: when you see "foo" it's
> because the code is actually described in a (human) meta-language.

My take, too.

Cheers
-- t


signature.asc
Description: Digital signature


Re: Metavariable [was: Help with --regex in locate]

2019-12-03 Thread Stefan Monnier
> I think the canonical name is "metasyntactic variable" [1]. I've
> seen also just "metavariable", although Wikipedia would say that
> the latter belongs in the realm of logic [2], not programming.

AFAICT those two usages are one and the same: when you see "foo" it's
because the code is actually described in a (human) meta-language.


Stefan