[m-rev.] minor style update, and news about item lists

Zoltan Somogyi zoltan.somogyi at runbox.com
Sat Jul 11 21:52:37 AEST 2015


The attached diff is a minor cleanup.

I am just finishing up the change that replaces the item list with five separate
purpose-specific structured parse trees. It bootstraps the compiler, and passes
almost all tests, the exceptions being some tests of recompilation, hence the
cleanup of this testing code.

The coming diff will enable the compiler to generate messages for deviations
from the expected program structure, such as :- module declarations being
followed immediately by e.g. type or pred declarations, without a module marker such as :- interface or :- implementation. My current draft diff generates an error
message for such cases. However, the current compiler accepts such code without
complaint, so the difference in behavior is significant. The error is trivial for users
to fix, so I think this change in behavior is acceptable, but others may prefer that
it should be just a warning. Any opinions?

And does anyone volunteer to review the upcoming diff? It is about 22,000 lines
right now.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.recomp
Type: application/octet-stream
Size: 182 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20150711/4d978332/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.recomp
Type: application/octet-stream
Size: 11376 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20150711/4d978332/attachment-0001.obj>


More information about the reviews mailing list