[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #38332] Added a new module-compile-options
From: |
Matthieu Vachon |
Subject: |
[Bug-kawa] [bug #38332] Added a new module-compile-options |
Date: |
Thu, 14 Feb 2013 17:07:42 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17 |
URL:
<http://savannah.gnu.org/bugs/?38332>
Summary: Added a new module-compile-options
Project: Kawa
Submitted by: maoueh
Submitted on: Thu 14 Feb 2013 05:07:40 PM GMT
Category: Code generation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
As discussed on the mailing-list
[here](http://sourceware.org/ml/kawa/2013-q1/msg00010.html), I added a new
`module-compile-options`.
The patch attached to this bug report adds a new `module-compile-options
main:` that can be set on any module. This option will then let Kawa know that
it must generate a main method for the currently compiled module.
The `--main` argument flag can still be used as before. This is usefull to
create multiple "runnable" classes and compiling with other classes that are
not intendend to be runnable.
Use it as follow:
(module-compile-options main: #t) ;; Will generate a main method
(module-compile-options main: #f) ;; Will never generate a main method,
even if --main flag is passed to Kawa compiler
;; If main: compile options is not present, it will generate a main method
only if --main flag is passed to Kawa compiler
The current patch does not update the documentation. I would be glad to update
it if you can point me where the source is.
Regards,
Matt
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 14 Feb 2013 05:07:40 PM GMT Name: module-compile-options-main.patch
Size: 4kB By: maoueh
Patch
<http://savannah.gnu.org/bugs/download.php?file_id=27463>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38332>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Bug-kawa] [bug #38332] Added a new module-compile-options,
Matthieu Vachon <=
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Per Bothner, 2013/02/14
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Matthieu Vachon, 2013/02/15
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Matthieu Vachon, 2013/02/15
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Per Bothner, 2013/02/15
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Matthieu Vachon, 2013/02/17
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Per Bothner, 2013/02/21
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Matthieu Vachon, 2013/02/21
- [Bug-kawa] [bug #38332] Added a new module-compile-options, Per Bothner, 2013/02/22