# DAML-LF code

**URL:** <https://forum.canton.network/t/daml-lf-code/4629>\
**Category:** App Development\
**Tags:** daml, canton\
**Created:** [May 27, 2022, 6:59am UTC](https://forum.canton.network/t/daml-lf-code/4629 "2022-05-27T06:59:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iqra\_Mustafa1](https://avatars.discourse-cdn.com/v4/letter/i/ec9cab/32.png) [@Iqra\_Mustafa1](https://forum.canton.network/u/Iqra_Mustafa1)\
**Post date:** [May 27, 2022, 6:59am UTC](https://forum.canton.network/t/daml-lf-code/4629/1 "2022-05-27T06:59:47Z")

</div>

How I can see DAML-LF? How it generated?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 27, 2022, 8:12am UTC](https://forum.canton.network/t/daml-lf-code/4629/2 "2022-05-27T08:12:21Z")

</div>

You can use `daml damlc inspect` to view the generated daml-lf code. Note though that the output of this command is not stable across SDK versions and you’re on your own wtr to how to interpret it so I don’t recommend to rely on any specific output here.

---

<div class="post-metadata">

**Author:** ![Iqra\_Mustafa1](https://avatars.discourse-cdn.com/v4/letter/i/ec9cab/32.png) [@Iqra\_Mustafa1](https://forum.canton.network/u/Iqra_Mustafa1)\
**Post date:** [May 27, 2022, 8:43am UTC](https://forum.canton.network/t/daml-lf-code/4629/3 "2022-05-27T08:43:26Z")

</div>

> [@cocreature](#):
>
> daml damlc inspect

 ![DAML-LF](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/7/79e16a681b5f34c6428a6aed37efd165fa80c6d1.jpeg)  
This command is not providing any useful bytecode information

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 27, 2022, 10:09am UTC](https://forum.canton.network/t/daml-lf-code/4629/4 "2022-05-27T10:09:27Z")

</div>

You used `inspect-dar` not `inspect`

---

<div class="post-metadata">

**Author:** ![sormeter](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/sormeter/32/280_2.png) [@sormeter](https://forum.canton.network/u/sormeter)\
**Post date:** [October 23, 2024, 4:33pm UTC](https://forum.canton.network/t/daml-lf-code/4629/5 "2024-10-23T16:33:37Z")

</div>

Any reason why `daml damlc inspect` isn’t included in the help?

❯ daml damlc --help  
damlc - Compiler and IDE backend for the Daml programming language  
SDK Version: 2.9.5

Usage: damlc COMMAND

Invoke the Daml compiler. Use -h for help.

Available options:  
-h,–help Show this help text

Available commands:  
ide Start the Daml language server on standard  
input/output.  
multi-ide Start the Daml Multi-IDE language server on standard  
input/output.  
license License information for open-source projects included  
in Daml.  
package Compile the Daml program into a DAR (deprecated)  
build Initialize, build and package the Daml project  
test Test the current Daml project or the given files by  
running all test declarations. Must be in Daml  
project if --files is not set.  
docs Early Access (Labs). Generate documentation for the  
given Daml program.  
inspect-dar Inspect a DAR archive  
validate-dar Validate a DAR archive  
doctest Early Access (Labs). doc tests  
lint Lint the Daml program.  
repl Launch the Daml REPL.
