add an option like `--scaml-convert-single` to `scamlc`
Feature purpose to facilitate integration.
Proposed synopsis
scamlc [--scaml-convert-single ident] contractvals.ml
this would write to stdout the converted Michelson literal for value [ident]
in contractvals.ml
.
Rationale
Currently scamlc [--scaml-convert] contractvals.ml
is available but the output is a mix of converted literals for all value definitions in [contractvals.ml]
line by line and prefixed by ident:
, which is difficult to work with using commandline utilities.
Edited by Haochen Xie