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: Question about command-line-arguments and main method


On 02/04/2013 01:27 PM, Matthieu Vachon wrote:

So, I need a way to activate the --main flag on a per module basis. If
it does exist right now, I'm more then willing to implement it via a
new `module-compile-options` keyword. What do you think of such
option?

That seems like a good plan.


You might want to look at how on 2011-11-15 I added support for:
(module-compile-options full-tailcalls: #t)
We want:
(module-compile-options main: #t)
and the logic should be very similar (though simpler, since the
flag is a pure boolean, and per-module rather than per-lambda).
--
	--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]