compile expression
SYNOPSIS
DESCRIPTION
This sub-command compiles a LIGO expression to a Michelson value. It works by compiling the LIGO expression to a Michelson expression and then interpreting it using Michelson's interpreter.
FLAGS
--constants CONSTANTS A list of global constants that will be assumed in the context, separated by ',' (alias: -c)
--display-format FORMAT the format that will be used by the CLI. Available formats are 'dev', 'json', and 'human-readable' (default). When human-readable lacks details (we are still tweaking it), please contact us and use another format in the meanwhile. (alias: --format)
--file-constants FILE_CONSTANTS A file with a JSON list of strings with Michelson code. Those Michelson values will be registered as global constants in the context.
--function-body compile expression as a function body
--init-file FILENAME the path to the smart contract file to be used for context initialization.
--library LIBS A comma-separated list of paths to directories where to search for files to be included by the preprocessor (alias: -l)
--michelson-format CODE_FORMAT format that will be used by compile-contract for the resulting Michelson. Available formats are 'text' (default), 'json', 'msgpack' and 'hex'.
--no-color disable coloring in CLI output
--no-stdlib disable stdlib inclusion.
--no-warn disable warning messages
--project-root PATH The path to root of the project.
--skip-analytics Avoid ligo analytics publication. Configurable with environment variable LIGO_SKIP_ANALYTICS too
--warn-infinite-loop warn about infinite loop
--warn-unused-rec warn about unused recursion in a recursive function
--werror treat warnings as errors
--without-run disable running of compiled expression.
-D pass a list of defines to the preprocessor
-p PROTOCOL choose protocol's types/values pre-loaded into the LIGO environment (atlas). By default, the current protocol (atlas) will be used (alias: --protocol)
-help print this help text and exit (alias: -?)