Version: 0.46.1

print ast-combined


ligo print ast-combined SOURCE_FILE


This sub-command prints the source file in the AST typed stage. Internally, it uses the build system to type the contract, and the contract is combined with the imported modules.


--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)

--project-root PATH The path to root of the project.

--syntax SYNTAX the syntax that will be used. Currently supported syntaxes are "pascaligo", "cameligo", "reasonligo" and "jsligo". By default, the syntax is guessed from the extension (.ligo, .mligo, .religo, and .jsligo respectively). (alias: -s)

-p PROTOCOL choose protocol's types/values pre-loaded into the LIGO environment (hangzhou , ithaca). By default, the current protocol (hangzhou) will be used (alias: --protocol)

-help print this help text and exit (alias: -?)