user2080: Can anyone explain in detail why this script, https://github.com/james-iohk/Alonzo-testnet/blob/update-cabal-1.29.0/resources/plutus-sources/plutus-alwayssucceeds/src/Cardano/PlutusExample/AlwaysSucceeds.hs, results in the following output?
Writing output to: 
alwayssucceeds.plutus
"Log output"
[]
"Ex Budget"
ExBudget {exBudgetCPU = ExCPU 297830, exBudgetMemory = ExMemory 1100}

Thanks, Myles

user2402: The output seems to be generated by this Haskell script (plutus-alwayssucceeds.hs) sitting in the parent folder of the script you linked. "plutus-alwayssucceeds.hs" is defined as the entry point of the executable defined in cabal file here.
When you run command like cabal build, cabal will build "plutus-alwayssucceeds.hs" as an executable, which, when executed, will print out the log pasted in the question above. Notice that the actual plutus script (alwayssucceeds.plutus) is generated by function "writePlutusScript" here.

2080: <p>Can anyone explain in detail why this script, <a href="https://github.com/james-iohk/Alonzo-testnet/blob/update-cabal-1.29.0/resources/plutus-sources/plutus-alwayssucceeds/src/Cardano/PlutusExample/AlwaysSucceeds.hs" rel="nofollow noreferrer">https://github.com/james-iohk/Alonzo-testnet/blob/update-cabal-1.29.0/resources/plutus-sources/plutus-alwayssucceeds/src/Cardano/PlutusExample/AlwaysSucceeds.hs</a>, results in the following output?</p>
<pre><code>Writing output to: 
alwayssucceeds.plutus
&quot;Log output&quot;
[]
&quot;Ex Budget&quot;
ExBudget {exBudgetCPU = ExCPU 297830, exBudgetMemory = ExMemory 1100}
</code></pre>
<p>Thanks, Myles</p>
 2402: <p>The output seems to be generated by <a href="https://github.com/james-iohk/Alonzo-testnet/blob/update-cabal-1.29.0/resources/plutus-sources/plutus-alwayssucceeds/app/plutus-alwayssucceeds.hs" rel="nofollow noreferrer">this</a> Haskell script (plutus-alwayssucceeds.hs) sitting in the parent folder of the script you linked. &quot;plutus-alwayssucceeds.hs&quot; is defined as the entry point of the executable defined in cabal file <a href="https://github.com/james-iohk/Alonzo-testnet/blob/update-cabal-1.29.0/resources/plutus-sources/plutus-alwayssucceeds/plutus-alwayssucceeds.cabal#L65" rel="nofollow noreferrer">here</a>.</p>
<p>When you run command like <code>cabal build</code>, cabal will build &quot;plutus-alwayssucceeds.hs&quot; as an executable, which, when executed, will print out the log pasted in the question above. Notice that the actual plutus script (alwayssucceeds.plutus) is generated by function &quot;writePlutusScript&quot; <a href="https://github.com/james-iohk/Alonzo-testnet/blob/update-cabal-1.29.0/resources/plutus-sources/plutus-alwayssucceeds/app/plutus-alwayssucceeds.hs#L22" rel="nofollow noreferrer">here</a>.</p>
