This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Servlet based implementation of brl.


I'm comfortable with moving gnu.brl into gnu.kawa.brl.

I think of BRL as an extension of Scheme, so it would make sense to
share a namespace if that's practical.

In BRL 2 each page had its own scope.  You could define variables in
individual pages without worrying about whether a global variable had
the same name.  Does it work the same way in the Kawa servlet's
module-based system?


-----Original Message-----
From: kawa-owner@sourceware.org [mailto:kawa-owner@sourceware.org] On
Behalf Of Per Bothner
Sent: Sunday, August 16, 2009 1:53 PM
To: Dan Stanger
Cc: kawa@sources.redhat.com
Subject: Re: Servlet based implementation of brl.

On 08/16/2009 05:49 AM, Dan Stanger wrote:
> In the servlet initialization, I need to retrieve values from the
> web.xml file.

You need something beyond what the servlet API gives you?

> It would be convenient to do that in scheme. When I used
> Language.getLanguage("scheme") in the servlet init, and loaded
> the compiled HTTP.scm using loadClass, the definitions were not
> available when
> Language.getInstanceFromFilenameExtension loaded a brl file
> in the run method. It seems like gnu.kawa.brl.BRL is creating its own
> namespace.

Well, Scheme and BRL are two different languages.  getLanguage("Scheme")
is likely to cause confusion.

> Is this correct?
> Also, what is the purpose of the 2 brl directories?

Historical.  You guys had the gnu.brl directory, and it didn't
seem proper to modify that.  So I created gnu.kawa.brl.

I have no problems combining the two packages if you and
Bruce are comfortable with that.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]