Deep Dive into the Daml Compiler
๐ To get started with Daml, visit https://bit.ly/trydaml ๐ Check out our blog https://daml.com/blog/engineering/
In this video, we deep dive into the Daml compiler, and help you understand the relationship between Daml and Haskell, and the individual parts of the Daml compiler. #daml #smartcontract
Chapters 00:00 What is a compiler 4:38 Critical Path 5:38 Full Build Pipeline 8:22 GHC, Glasfow Haskell Compiler 16:59 About Repos 18:05 Daml Build 20:54 Shake 23:23 Install Dependencies 24:15 Generate Package DB 24:41 Build DAR 25:21 Compile Single Module 29:40 Parse 37:05 Preprocess 37:27 Typecheck 40:48 Conversion Phase 41:53 Combine 42:11 Write Interface Files 43:45 Serialize into DAR 44:16 Testing 44:47 Daml Studio / Language Server 46:40 Questions