daml/compiler
Martin Huschenbett 9f165b2196
damlc inspect: Clean up the DAML-LF pretty printer (#6277)
Clean up the DAML-LF pretty printer used by `damlc inspect` (and
others).

Most of the changes are around using `pPrintPrec` or `pPrint` instead
of `pretty` and fixing some naming inconsistencies. In many places we
now use `pPrintPrec` because I'd like to support multiple levels of
details in a follow-up PR. This requires passing the `PrettyLevel` down
the AST.

We also remove 4 leading spaces from almost every line since they cost
precious screen space and don't add any value.

This is part of https://github.com/digital-asset/daml/issues/5756.

CHANGELOG_BEGIN
CHANGELOG_END
2020-06-09 17:51:03 +00:00
..
daml-extension Simplify exercise snippet (#6232) 2020-06-04 22:17:10 +02:00
daml-lf-ast damlc inspect: Clean up the DAML-LF pretty printer (#6277) 2020-06-09 17:51:03 +00:00
daml-lf-proto Use com.daml as root package (#5343) 2020-04-05 19:49:57 +02:00
daml-lf-reader replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
daml-lf-tools Run simplifier in topological order. (#6013) 2020-05-19 14:16:52 +00:00
daml-lf-verify WIP: Draft version constraint generation (#5472) 2020-05-20 08:08:18 +02:00
daml-licenses replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
damlc damlc inspect: Clean up the DAML-LF pretty printer (#6277) 2020-06-09 17:51:03 +00:00
ghcide Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
hie-core Get ghcide from the new upstream repo (#2867) 2019-09-11 08:57:48 +02:00
lsp-tests Turn warnings for module name/record name mismatches into errors (#5266) 2020-03-30 10:21:53 +00:00
repl-service Add control to speedy compiler to choose if stack-trace support occurs at runtime. (#6070) 2020-05-22 16:36:03 +01:00
scenario-service DAML-LF: split com.daml.lf.types.Ledger (#6264) 2020-06-08 17:29:10 +02:00
README.md open-sourcing daml 2019-04-04 09:33:38 +01:00

DAML Compiler

This directory contains several libraries used by and the executable for the DAML compiler.

Libraries

  • daml-lf-ast: The DAML-LF AST and type checker.