Documentation ¶
Index ¶
- func ConvertFrom(from MalType) ([]MalType, MalType, error)
- func Equal_Q(a, b MalType) bool
- func False_Q(obj MalType) bool
- func Keyword_Q(obj MalType) bool
- func Line(cursor *Position, message string) string
- func NewKeyword(s string) string
- func Nil_Q(obj MalType) bool
- func Q[T any](obj MalType) bool
- func Sequential_Q(seq MalType) bool
- func String_Q(obj MalType) bool
- func True_Q(obj MalType) bool
- type Dereferable
- type EnvType
- type ExternalCall
- type Func
- type HashMap
- type LispPrintable
- type List
- type MalFunc
- type MalType
- type Placeholder
- type Position
- func (c *Position) Close(here *Position) *Position
- func (p *Position) Copy() *Position
- func (p *Position) Here(here *Position) *Position
- func (cursor *Position) Includes(inside Position) bool
- func (p *Position) SetPos(row int) *Position
- func (cursor *Position) String() string
- func (cursor *Position) StringModule() string
- func (cursor *Position) StringPosition() string
- func (cursor *Position) StringPositionRow() string
- type Set
- type Symbol
- type Token
- type Typed
- type Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Sequential_Q ¶
Types ¶
type Dereferable ¶ added in v0.2.0
Dereferable type
type EnvType ¶
type EnvType interface { Find(key Symbol) EnvType Set(key Symbol, value MalType) MalType Get(key Symbol) (MalType, error) Remove(key Symbol) error RemoveNT(key Symbol) error Update(key Symbol, f func(MalType) (MalType, error)) (MalType, error) Symbols(newLine [][]rune, lastPartial string) [][]rune FindNT(key Symbol) EnvType SetNT(key Symbol, value MalType) MalType GetNT(key Symbol) (MalType, error) }
type ExternalCall ¶ added in v0.2.0
type Func ¶
type Func struct { // Fn func(context.Context, []MalType) (MalType, error) Fn ExternalCall Meta MalType Cursor *Position }
Functions
type LispPrintable ¶ added in v0.2.0
LispPrintable type
type MalFunc ¶
type MalType ¶
type MalType interface{}
General types
func NewHashMap ¶
type Placeholder ¶ added in v0.2.0
Placeholder
type Position ¶
func NewAnonymousCursorHere ¶ added in v0.2.0
func NewCursorFile ¶ added in v0.2.0
func NewCursorHere ¶ added in v0.2.0
func (*Position) StringModule ¶ added in v0.2.0
func (*Position) StringPosition ¶ added in v0.2.0
func (*Position) StringPositionRow ¶ added in v0.2.0
type Token ¶
func (Token) GetPosition ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.