ChimeraCoder / MLang

Other
4 stars 0 forks source link

Solidify scoping #8

Open ChimeraCoder opened 12 years ago

ChimeraCoder commented 12 years ago

Common Lisp has both dynamic and lexical scoping, which are achieved through different means. Scheme's scoping rules are different from Common Lisp's, though (and Emacs Lisp has really weird scoping rules!)

On some level it doesn't matter which ones we choose to follow, but we should decide now which ones so that we can be consistent, and so that we know what kind of scope that LABEL (for example) should have. If we should support both, we need to decide how the other one will be assigned (what function will be used).

I sent everyone an email sometime in February about this; if you need an explanation of the differences between the two, I believe I outlined it there.

ChimeraCoder commented 12 years ago

Bumping this, because I can't implement macros until we at least have a discussion as a group about scoping.

Scoping is hugely important, and I don't want to make a decision unilaterally when none of the other team members have weighed in on it, even if only in agreement!

tinkcode commented 12 years ago

How do you mean solidify scoping?

ChimeraCoder commented 12 years ago

We need to decide on what form(s) of scoping we will implement, implement that, and then test it.