sutori-0.2.4: Sutori language compiler

Safe HaskellSafe
LanguageHaskell2010

Sutori.Monad.State

Description

 

Synopsis

Documentation

data SutState Source #

Monadic Lexer/Parser current state.

Constructors

SutState

Current error code, if any

Fields

initialSutoriState :: SutState Source #

Initial state of a Sutori parsescanrun

parserCurrentScope :: SutState -> Scope Source #

Get the current open scope