[m-rev.] for post-commit review: break up mercury_to_mercury.m
Zoltan Somogyi
zoltan.somogyi at runbox.com
Thu Apr 6 15:32:33 AEST 2023
Once upon a time, mercury_to_mercury.m contained
ALL the code needed to write out the parse tree, but most of that code
has been moved to parse_tree_out_*.m a while ago. This left mercury_to_mercury.m
itself a grab-bag of unrelated things, and with a name that did not fit into
the naming scheme of the modules related to it.
This diff replaces mercury_to_mercury.m with four modules:
parse_tree_out_{cons_id,sym_name,type,misc}.m. The first three
each output the entity in their names, the last is still a grab-bag.
Since this diff just moves stuff around, the only thing worth reviewing
are (a) the names of the new modules, and (b) the partition of the
entities formerly defined in mercury_to_mercury.m between them.
I intend to distribute the current contents of prog_out.m between the
new modules, but there is a cleanup task I want to do first.
For review by anyone.
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.m2m
Type: application/octet-stream
Size: 892 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20230406/30391eaf/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.m2m
Type: application/octet-stream
Size: 84284 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20230406/30391eaf/attachment-0003.obj>
More information about the reviews
mailing list