salmanahmad / silo

The Silo Programming Language
0 stars 0 forks source link

Implement macrolocal special form #107

Closed salmanahmad closed 10 years ago

salmanahmad commented 10 years ago

It uses the CompilationFrame#uniqueLocalIdentifier.

salmanahmad commented 10 years ago

Basically the CompilationFrame#uniqueLocalIdentifier is actually CompilationFrame#uniqueLocalIdentifierPrefix. It will be sent to a random string in the constructor and then prepended to an actual identifier specified by macro local.

salmanahmad commented 10 years ago

Implemented in 6d422c86ffcc350f78df385aef39fcbf446bbe33.