Package | Description |
---|---|
jfun.jaskell |
Provides classes and interfaces for compiling and running jaskell code.
|
jfun.jaskell.ast |
Provides classes and interfaces for the abstract syntax tree of jaskell.
|
Modifier and Type | Method and Description |
---|---|
static FunBinding[] |
Jaskell.compileLib(FunDef[] defs)
Compiles a list of function definitions as a library.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
Jaskell.evalLib(FunBinding[] defs)
Evaluate a list of compiled function definitions
as a Tuple.
|
Modifier and Type | Method and Description |
---|---|
static Expr |
Exprs.buildExpr(int from,
Location loc,
Expr e,
FunBinding[] where)
Build an expression with a list of compiled function definitions
defined by "where".
|
static Expr |
Exprs.buildFieldUpdate(int from,
Location loc,
Expr e,
Binding self,
FunBinding[] flds)
Build an expression for a compiled tuple field update.
|
static Expr |
Exprs.buildLet(int from,
Location loc,
FunBinding[] bindings)
Build an expression with a list of compiled function definitions
defined by "let"
|
static Expr |
Exprs.buildTuple(int from,
Location loc,
Binding self,
FunBinding[] flds)
Build an expression for tuple definition.
|
java.lang.Object |
ExprVisitor.visitExpr(int from,
Location loc,
Expr e1,
FunBinding[] where)
Visit an expression with a list of compiled function definitions.
|
java.lang.Object |
ExprVisitor.visitFieldUpdate(int from,
Location loc,
Expr t,
Binding self,
FunBinding[] flds)
Visit a compiled tuple field update.
|
java.lang.Object |
ExprVisitor.visitLet(int from,
Location loc,
FunBinding[] binding)
Visit a compiled let statement.
|
java.lang.Object |
ExprVisitor.visitTuple(int from,
Location loc,
Binding self,
FunBinding[] flds)
Visit a compiled tuple definition.
|