Documentation ¶
Index ¶
- Variables
- func AppendValue(p **Cons, q **Cons, v Value)
- func AsDisplay(v Value) string
- func AsNumbers(v1 Value, v2 Value) (Number, Number, NumKind)
- func AsString(v Value) string
- func NumberEq(a Value, b Value) bool
- func NumberGe(a Value, b Value) bool
- func NumberGt(a Value, b Value) bool
- func NumberLe(a Value, b Value) bool
- func NumberLt(a Value, b Value) bool
- func NumberNe(a Value, b Value) bool
- type Atom
- type Bool
- type Callable
- type Char
- type Compiler
- type Complex
- type Cons
- type Float
- type Instr
- type Int
- type Intrinsic
- type LoadedProc
- type NumKind
- type Number
- type Op
- type ParseError
- type Parser
- type Proc
- type Program
- type Reflect
- type RuneWriter
- type Scope
- type String
- type Value
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UnexpectedEofErr = ParseError{errors.New("unexpected EOF")} UnexpectedCharErr = ParseError{errors.New("unexpected char")} )
Functions ¶
func AppendValue ¶
Types ¶
type Intrinsic ¶
type Intrinsic struct {
// contains filtered or unexported fields
}
func (*Intrinsic) IsIdentity ¶
type LoadedProc ¶
func (LoadedProc) Call ¶
func (p LoadedProc) Call(args []Value) Value
type ParseError ¶
type ParseError struct {
// contains filtered or unexported fields
}
func (ParseError) Error ¶
func (e ParseError) Error() string
func (ParseError) Unwrap ¶
func (e ParseError) Unwrap() error
type Proc ¶
func (*Proc) IsIdentity ¶
func (*Proc) LoadWithScope ¶
func (p *Proc) LoadWithScope(scope *Scope) LoadedProc
type Reflect ¶
type Reflect struct {
// contains filtered or unexported fields
}
func (Reflect) IsIdentity ¶
type RuneWriter ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.