This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Source reading questions.
- From: Jamison Hope <jrh at theptrgroup dot com>
- To: Kawa mailing list <kawa at sourceware dot org>, Necto <necto dot ne at gmail dot com>
- Date: Thu, 5 Apr 2012 14:15:59 -0400
- Subject: Re: Source reading questions.
- References: <CANy7P7RriJoUCF=5zJfa1Ns6ZaYHC9D_q=KEa-nbEaTOwa8cRQ@mail.gmail.com> <CANy7P7QL5P+CqgifftN=9mi9P8eLwWYRAc-f_ZOZHgLsadtW8g@mail.gmail.com>
On Apr 5, 2012, at 1:09 PM, Necto wrote:
Hello, everyone!
I'm a new in the project.
Welcome Necto!
I'm trying to understand an internal
mechanics of the compiler. So it rises a first, simple question:
What does gnu.expr.SetExp.PREFER_BINDING2 mean?
Judging from the results of a quick grep, it looks like it's related
to Kawa's implementation of separate namespaces for functions and
variables (i.e. Lisp-2). But, it doesn't look like
SetExp.PREFER_BINDING2
is ever used (it's set once in setq.java, but nothing ever checks it,
as far as I can tell), unlike ReferenceExp.PREFER_BINDING2, which shows
up in more places. My guess would be that it's either obsolete, with its
intended functionality being implemented in another way, or that it's
just incomplete because it wasn't needed for Scheme and fell to the back
of Per's feature priority queue.
Let's see if Per can remember all the way back to r1720 (twelve years
ago!) when he added that flag to give us more details....
--
Yours respectfully,
Zaostrovnykh Arseniy (aka Necto).
-Jamie
--
Jamison Hope
The PTR Group
www.theptrgroup.com