📄️ Environment Setup
Plinth is a subset of Haskell, so configuring the development environment for Plinth is similar to a regular Haskell environment setup.
📄️ Compiling Plinth
The Plinth compiler is a GHC plugin, provided by the plutus-tx-plugin package.
📄️ Differences From Haskell
Strictness
📄️ GHC Extensions, Flags and Pragmas
Plinth is a subset of Haskell and is compiled to Untyped Plutus Core by the Plinth compiler, a GHC (Glasgow Haskell Compiler) plugin.
📄️ Special Functions and Types
Normally, the Plinth compiler compiles a Haskell identifier by obtaining and compiling its definition (also known as unfolding), and creating a term binding in PIR, an intermediate representation used by the Plinth compiler.
📄️ Inspecting Compilation and Compiled Code
On this page, you’ll learn how to look into the compilation of Plinth and the resulting compiled code, which you might want to do for reasons such as debugging and tuning.
📄️ CLI tool for Plutus
The plutus CLI tool allows you to: