[Nickle] Pragma to enforce unique variable names in each scope?

Bart Massey bart at cs.pdx.edu
Wed Nov 12 23:33:32 PST 2003


In general, we aren't up for "pragmas"---metasyntax is bad.
OTOH, I can imagine a scope keyword that would cause a decl
to fail if it was scoping out something, ala
  unique int x = 0;
or somesuch.  Keithp?  What do you think?

	Bart

In message <Pine.GSO.4.58.0311122144500.10805 at sirius.cs.pdx.edu> you wrote:
> 
> Would it be possible to make a pragma, so the programmer could ask the
> interpreter to enforce unique names? This would be greatly appreciated.
> 
> Thanks.
>   - David Guy
> 
> _______________________________________________
> Nickle mailing list
> Nickle at nickle.org
> http://nickle.org/mailman/listinfo/nickle



More information about the Nickle mailing list