public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Multiple modules per file
@ 2015-02-15 21:00 Helmut Eller
  2015-02-16  0:50 ` Per Bothner
  0 siblings, 1 reply; 3+ messages in thread
From: Helmut Eller @ 2015-02-15 21:00 UTC (permalink / raw)
  To: kawa

Kawa currently seems to allow multiple define-library forms per file.  Is
this an "accidental" feature or is it safe to assume that this will work
in the future too?

Helmut

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple modules per file
  2015-02-15 21:00 Multiple modules per file Helmut Eller
@ 2015-02-16  0:50 ` Per Bothner
  2015-02-16  7:30   ` Helmut Eller
  0 siblings, 1 reply; 3+ messages in thread
From: Per Bothner @ 2015-02-16  0:50 UTC (permalink / raw)
  To: kawa

On 02/15/2015 12:59 PM, Helmut Eller wrote:
> Kawa currently seems to allow multiple define-library forms per file.  Is
> this an "accidental" feature or is it safe to assume that this will work
> in the future too?

It's intended and supported.  See:
http://www.gnu.org/software/kawa/Bodies.html

It's not generally recommended, because it doesn't work well if you want to
be able to search for source files:
http://www.gnu.org/software/kawa/Importing.html#Searching-for-source-files

However, there is no problem with multiple define-library forms per file
if you install them after compiling them with -C.
-- 
	--Per Bothner
per@bothner.com   http://per.bothner.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Multiple modules per file
  2015-02-16  0:50 ` Per Bothner
@ 2015-02-16  7:30   ` Helmut Eller
  0 siblings, 0 replies; 3+ messages in thread
From: Helmut Eller @ 2015-02-16  7:30 UTC (permalink / raw)
  To: kawa

On Sun, Feb 15 2015, Per Bothner wrote:

> On 02/15/2015 12:59 PM, Helmut Eller wrote:
>> Kawa currently seems to allow multiple define-library forms per file.  Is
>> this an "accidental" feature or is it safe to assume that this will work
>> in the future too?
>
> It's intended and supported.  See:
> http://www.gnu.org/software/kawa/Bodies.html

Aha. Very good.

Helmut

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-16  7:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-15 21:00 Multiple modules per file Helmut Eller
2015-02-16  0:50 ` Per Bothner
2015-02-16  7:30   ` Helmut Eller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).