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


Ok, implemented the feature and it looks ok from the tests I made.
What is the correct procedure to submit a patch?

Thanks in advance,
Matt

On Mon, Feb 4, 2013 at 5:04 PM, Matthieu Vachon
<matthieu.o.vachon@gmail.com> wrote:
> On Mon, Feb 4, 2013 at 4:40 PM, Per Bothner <per@bothner.com> wrote:
>> 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).
>>
>
> Ok thanks, I will look into this. I will come back if I have any
> question about the implementation.


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