[m-rev.] for review: extend modes of operation

Zoltan Somogyi zoltan.somogyi at runbox.com
Mon Oct 5 19:55:33 AEDT 2015


For review by Julien, since this extends his work.

The two parts I am most interested in feedback on are
the exceptions in decide_op_mode (are they ok? do we need
more exceptions?), and whether it is ok that we now assume
that rebuilding the option set should NOT change the mode
of operation.

Also, should the op_mode type itself be in globals.m, with
decide_op_mode in handle_options.m? The op_mode is used
only in mercury_compile.m (now), but the latter would allow the
deletion of the (slightly incorrect) redundant computation of Link,
and it requires the former as a prerequisite.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.opmode
Type: application/octet-stream
Size: 1486 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20151005/31e45860/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.opmode
Type: application/octet-stream
Size: 76298 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20151005/31e45860/attachment-0001.obj>


More information about the reviews mailing list