morley-1.12.0: Developer tools for the Michelson Language
Safe HaskellNone
LanguageHaskell2010

Michelson.Parser.Instr

Description

Parsing of Michelson instructions.

Synopsis

Documentation

primInstr :: Parser (Contract' ParsedOp) -> Parser ParsedOp -> Parser ParsedInstr Source #

Parser for primitive Michelson instruction (no macros and extensions).

ops' :: Parser ParsedOp -> Parser [ParsedOp] Source #

Parse a sequence of instructions.

These are handled separately to have better error messages