salmanahmad / silo

The Silo Programming Language
0 stars 0 forks source link

Deprecate Require Special Form #116

Open salmanahmad opened 10 years ago

salmanahmad commented 10 years ago

The require special form is really not necessary as a special form. I could achieve the same functionality using a macro and updating CompilationContext with a generate purpose HashMap. This is similar to how uniquesymbol is not necessary as a special form and is able to be achieved using a macro uniqueidentifier.

salmanahmad commented 10 years ago

Along the same lines, I should support the include macro which will always include the file no matter if it has been required before or not.