License | BSD-3-Clause |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Interpreter for the Swarm world description DSL.
Synopsis
- interpBTerm :: Seed -> BTerm a -> a
- interpConst :: Seed -> Const a -> a
- interpReflect :: Axis -> Coords -> Coords
- interpRot :: Rot -> Coords -> Coords
Documentation
interpBTerm :: Seed -> BTerm a -> a Source #
Interpret an abstracted term into the host language.
interpConst :: Seed -> Const a -> a Source #
Interpret a constant into the host language.