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

Morley.Michelson.Parser.Instr

Description

Parsing of Michelson instructions.

Synopsis

Documentation

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

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

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

Parse a sequence of instructions.

These are handled separately to have better error messages