chicode/lisa/3.1.0

NOTE: the latest version is 5.1.5

Lisa.Process

type Context
This is sort of strange in order to fix a problem with recursive type aliases.
type Expr
= SetVar SymbolNode ExprNode
| GetVar String
| FuncCall SymbolNode (List ExprNode)
| If IfExpr
| Do (List ExprNode)
| While ExprNode (List ExprNode)
| Func FuncDecl
| DefVar VarDecl SymbolNode (Maybe ExprNode)
| DefFunc SymbolNode FuncDecl
| StrLit String
| NumLit Float
| KeyLit Int
| ListLit (List ExprNode)
type alias ExprNode =
LocatedNode Expr
type alias MacroHandler =
Context -> Location -> List AstNode -> Result Error ExprNode
encodeExpr : ExprNode -> Value
processExpr : Context -> AstNode -> Result Error ExprNode
processProgram : Context -> List AstNode -> Result Error (List ExprNode)