mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
2064443555
It looks like we have changed the package naming rules such that a lot of examples in our documentation are now producing warnings. This PR fixes the `daml new` commands, though I believe we should rather change the package name constraints back, as it looks like a gratuitous backwards-compatibility break. CHANGELOG_BEGIN CHANGELOG_END
22 lines
1.2 KiB
ReStructuredText
22 lines
1.2 KiB
ReStructuredText
.. Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
||
.. SPDX-License-Identifier: Apache-2.0
|
||
|
||
Writing Daml
|
||
=============
|
||
|
||
Daml is a smart contract language designed to build composable applications on the `Daml Ledger Model <https://docs.daml.com/concepts/ledger-model/index.html#da-ledgers>`_.
|
||
|
||
The Writing Daml section will teach you how to write Daml applications that run on any Daml Ledger implementation, including key language features, how they relate to the Daml Ledger Model and how to use Daml’s developer tools. It also covers the structure of a Daml Ledger as it pertains to designing your application.
|
||
|
||
You can find the Daml code for the example application and features in each section `here <https://github.com/digital-asset/daml/tree/main/docs/source/daml/intro/daml>`_ or download it using the Daml assistant. For example, to load the sources for section 1 into a folder called ``intro1``, run ``daml new intro1 --template daml-intro-1``.
|
||
|
||
To run the examples, you will first need to `install the Daml SDK <https://docs.daml.com/getting-started/installation.html>`_.
|
||
|
||
.. toctree::
|
||
:maxdepth: 2
|
||
|
||
daml/intro/0_Intro
|
||
daml/reference/index
|
||
daml/stdlib/index
|
||
daml/patterns
|