From: Per Bothner <per@bothner.com>
To: Matthieu Vachon <matthieu.o.vachon@gmail.com>
Cc: kawa@sourceware.org
Subject: Re: Question about command-line-arguments and main method
Date: Mon, 04 Feb 2013 21:40:00 -0000 [thread overview]
Message-ID: <51102ACD.8080809@bothner.com> (raw)
In-Reply-To: <CAOTvmomvjRrCxMWAAcfPnxS9nPuuudP_0LT2Yw4pBvi22FTHjQ@mail.gmail.com>
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/
next prev parent reply other threads:[~2013-02-04 21:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-04 18:15 Matthieu Vachon
2013-02-04 20:59 ` Per Bothner
2013-02-04 21:27 ` Matthieu Vachon
2013-02-04 21:40 ` Per Bothner [this message]
2013-02-04 22:04 ` Matthieu Vachon
2013-02-06 4:28 ` Matthieu Vachon
2013-02-06 4:35 ` Per Bothner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51102ACD.8080809@bothner.com \
--to=per@bothner.com \
--cc=kawa@sourceware.org \
--cc=matthieu.o.vachon@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).