ctpl-0.1.0.1: A programming language for text modification.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.CTPL0

Documentation

data RegisterState Source

Constructors

RegisterState 

Fields

ax :: Integer
 
mk :: [String]
 
rk :: [Int]
 
ck :: [Int]
 
cp :: Bool
 

data InfoState Source

Constructors

InfoState 

Fields

instrStats :: AVL (Char, Int)
 

data Exec a Source

Constructors

Succ a 
Expired 
ConfViol 
SynViol 

Instances

Show a => Show (Exec a) 

newtype CTPL0 a Source

Constructors

CTPL0 

Fields

runCTPL0 :: Int -> CTPL0State -> Exec (a, CTPL0State, Int)
 

Instances