Documentation ¶
Overview ¶
sniped from https://github.com/rocaltair/goreadline
Index ¶
- Constants
- Variables
- func AddHistory(line string)
- func AddLog(newLog *log.Logger)
- func AlistP(d *Data) bool
- func BooleanP(d *Data) bool
- func BooleanValue(d *Data) bool
- func ClearHistory()
- func DebugRepl(env *SymbolTableFrame)
- func DottedPairP(d *Data) bool
- func EndProfiling()
- func EnvironmentP(d *Data) bool
- func FloatP(d *Data) bool
- func FloatValue(d *Data) float32
- func FrameP(d *Data) bool
- func FunctionOrPrimitiveP(d *Data) bool
- func FunctionP(d *Data) bool
- func InitBuiltins()
- func InitEnvironments()
- func InitLisp()
- func IntegerP(d *Data) bool
- func IntegerValue(d *Data) int64
- func IsEqual(d *Data, o *Data) bool
- func Length(d *Data) int
- func LispToJson(d *Data) (result interface{})
- func LispToJsonString(d *Data) (result string)
- func LispWithFramesToJson(d *Data) (result interface{})
- func LispWithFramesToJsonString(d *Data) (result string)
- func ListP(d *Data) bool
- func LoadHistoryFromFile(fileName string)
- func LogPrint(a ...interface{})
- func LogPrintf(format string, a ...interface{})
- func LogPrintln(a ...interface{})
- func MacroP(d *Data) bool
- func MakePrimitiveFunction(name string, argCount string, ...)
- func MakeRestrictedPrimitiveFunction(name string, argCount string, ...)
- func MakeRestrictedSpecialForm(name string, argCount string, ...)
- func MakeSpecialForm(name string, argCount string, ...)
- func NakedP(d *Data) bool
- func NilP(d *Data) bool
- func NotNilP(d *Data) bool
- func NumberP(d *Data) bool
- func ObjectP(d *Data) bool
- func ObjectType(d *Data) (oType string)
- func ObjectValue(d *Data) (p unsafe.Pointer)
- func PairP(d *Data) bool
- func PortP(d *Data) bool
- func PortValue(d *Data) *os.File
- func PrimitiveP(d *Data) bool
- func PrintString(d *Data) string
- func ProcessError(errorMessage string, env *SymbolTableFrame) error
- func ProfileEnter(funcType string, name string, guid int64)
- func ProfileExit(funcType string, name string, guid int64)
- func ReadFile(filename string) (s string, err error)
- func ReadLine(prompt *string) *string
- func RegisterAListPrimitives()
- func RegisterBinaryPrimitives()
- func RegisterBytearrayPrimitives()
- func RegisterChannelPrimitives()
- func RegisterConcurrencyPrimitives()
- func RegisterDebugPrimitives()
- func RegisterEnvironmentPrimitives()
- func RegisterFramePrimitives()
- func RegisterIOPrimitives()
- func RegisterListAccessPrimitives()
- func RegisterListFunctionsPrimitives()
- func RegisterListManipulationPrimitives()
- func RegisterListSetPrimitives()
- func RegisterMacroPrimitives()
- func RegisterMathPrimitives()
- func RegisterMutatorPrimitives()
- func RegisterRelativePrimitives()
- func RegisterSpecialFormPrimitives()
- func RegisterStringPrimitives()
- func RegisterSystemPrimitives()
- func RegisterTypePredicatePrimitives()
- func Repl()
- func StartProfiling(fname string)
- func String(d *Data) string
- func StringP(d *Data) bool
- func StringValue(d *Data) string
- func SymbolP(d *Data) bool
- func TruncateHistoryFile(fileName string, left int)
- func TypeName(t uint8) string
- func TypeOf(d *Data) uint8
- func WriteHistoryToFile(fileName string)
- type ArgRestriction
- type Binding
- type BooleanBox
- type BoxedObject
- type Channel
- type ConsCell
- type Data
- func AbandonImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AbsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Acons(car *Data, cdr *Data, alist *Data) *Data
- func AconsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AddDebugOnEntryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AddImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Alist(d *Data) *Data
- func AlistImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AnyImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Append(l *Data, value *Data) *Data
- func AppendBang(l *Data, value *Data) *Data
- func AppendBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AppendBangList(l *Data, otherList *Data) *Data
- func AppendBytesBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AppendBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AppendImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AppendList(l *Data, otherList *Data) *Data
- func Apply(function *Data, args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ApplyImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ApplySlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ApplySlotSuperImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ApplyWithoutEval(function *Data, args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ArrayToList(sexprs []*Data) *Data
- func ArrayToListWithTail(sexprs []*Data, tail *Data) *Data
- func Assoc(key *Data, alist *Data) (result *Data, err error)
- func AssocImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AtomicAddImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AtomicCompareAndSwapImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AtomicImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AtomicLoadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AtomicStoreImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func AtomicSwapImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BeginImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BinaryAndImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BinaryNotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BinaryOrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BitsToFloatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BooleanAndImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BooleanNotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BooleanOrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func BooleanWithValue(b bool) *Data
- func BytesToListImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CaaaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CaaadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Caaar(d *Data) *Data
- func CaaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CaadarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CaaddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Caadr(d *Data) *Data
- func CaadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Caar(d *Data) *Data
- func CaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CadaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CadadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cadar(d *Data) *Data
- func CadarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CaddarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CadddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Caddr(d *Data) *Data
- func CaddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cadr(d *Data) *Data
- func CadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Car(d *Data) *Data
- func CarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CaseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CdaaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CdaadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cdaar(d *Data) *Data
- func CdaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CdadarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CdaddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cdadr(d *Data) *Data
- func CdadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cdar(d *Data) *Data
- func CdarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CddaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CddadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cddar(d *Data) *Data
- func CddarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CdddarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CddddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cdddr(d *Data) *Data
- func CdddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cddr(d *Data) *Data
- func CddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cdr(d *Data) *Data
- func CdrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CeilingImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ChainImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ChannelReadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ChannelTryReadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ChannelTryWriteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ChannelWriteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CloneImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CloseChannelImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ClosePortImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ComplementImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func CondImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Cons(car *Data, cdr *Data) *Data
- func ConsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ConsStarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Copy(d *Data) *Data
- func CopyImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DebugImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DebugOnEntryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DebugOnErrorImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DebugTraceImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DecrementImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DefineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DefinitionOfImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DefmacroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Dissoc(key *Data, alist *Data) (result *Data, err error)
- func DissocImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DoImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DropImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func DumpSymbolTableImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Eighth(d *Data) *Data
- func EighthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EmptyCons() *Data
- func EnvironmentAssignBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentAssignablePImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentAssignedPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentBindingsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentBoundNamesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentBoundPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentDefinablePImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentDefineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentLookupImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentLookupMacroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentMacroNamesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentParentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentParentPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentReferenceTypeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EnvironmentWithValue(e *SymbolTableFrame) *Data
- func EofObjectImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EqualToImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ErrorImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Eval(d *Data, env *SymbolTableFrame) (result *Data, err error)
- func EvalImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EvenImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func EveryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ExecImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ExpandImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ExtractByteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ExtractBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Fifth(d *Data) *Data
- func FifthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FilterImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FindImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FindTailImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FindTopLevelEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func First(d *Data) *Data
- func FirstImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Flatten(d *Data) (result *Data, err error)
- func FlattenImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FloatToBitsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FloatWithValue(n float32) *Data
- func FloorImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FoldLeftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FoldRightImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ForEachImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ForkImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FormatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Fourth(d *Data) *Data
- func FourthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FrameKeysImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FrameValuesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func FrameWithValue(m *FrameMap) *Data
- func FunctionWithNameParamsBodyAndParent(name string, params *Data, body *Data, parentEnv *SymbolTableFrame) *Data
- func GeneralCarCdrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GensymImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GensymNakedImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GetSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GetSlotOrNilImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GlobalEvalImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GreaterThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func GreaterThanOrEqualToImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func HasSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IfImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IncrementImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IntegerWithValue(n int64) *Data
- func Intern(name string) (sym *Data)
- func InternImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func InternalMakeList(c ...*Data) *Data
- func IntersectionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IntervalImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsAlistImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsAtomImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsBooleanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsByteArrayImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsFloatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsFrameImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsFunctionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsInfImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsIntegerImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsMacroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsNaNImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsNumberImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsPairImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsPortImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func IsSymbolImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func JoinImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func JsonStringToLisp(jsonData string) (result *Data)
- func JsonStringToLispWithFrames(jsonData string) (result *Data)
- func JsonToLisp(json interface{}) (result *Data)
- func JsonToLispImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func JsonToLispWithFrames(data interface{}) *Data
- func LambdaImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LastPairImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LeftShiftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LessThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LessThanOrEqualToImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LetCommon(args *Data, env *SymbolTableFrame, star bool, rec bool) (result *Data, err error)
- func LetImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LetRecImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LetStarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LispToJsonImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LispTraceImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListDirectoryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListHeadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListLengthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListRefImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListTailImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ListToBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func LoadFileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MacroWithNameParamsBodyAndParent(name string, params *Data, body *Data, parentEnv *SymbolTableFrame) *Data
- func MakeChannelImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MakeFrameImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MakeListImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MakeStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MakeTopLevelEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MapImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MaxImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MemqImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MillisImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MinImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func MultiplyImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NakedSymbolFrom(d *Data) *Data
- func NakedSymbolWithName(s string) *Data
- func NamedLambdaImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NegativeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NewlineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NilPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Ninth(d *Data) *Data
- func NinthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NotEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NotNilPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Nth(d *Data, n int) *Data
- func NthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func NumberToStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ObjectWithTypeAndValue(typeName string, o unsafe.Pointer) *Data
- func OddImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func OnErrorImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func OpenInputFileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func OpenOutputFileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func PairlisImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func PanicImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Parse(src string) (sexpr *Data, err error)
- func ParseAll(src string) (result []*Data, err error)
- func ParseAndEval(src string) (result *Data, err error)
- func ParseAndEvalAll(src string) (result *Data, err error)
- func ParseAndEvalAllInEnvironment(src string, env *SymbolTableFrame) (result *Data, err error)
- func ParseAndEvalInEnvironment(src string, env *SymbolTableFrame) (result *Data, err error)
- func ParseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ParseObjectFromFileInEnv(port *os.File, env *SymbolTableFrame) (result *Data, err error)
- func PartitionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func PortWithValue(e *os.File) *Data
- func PositiveImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func PowImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func PrimitiveWithNameAndFunc(name string, f *PrimitiveFunction) *Data
- func ProcSleepImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ProcedureEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ProcessFile(filename string) (result *Data, err error)
- func ProcessFileInEnvironment(filename string, env *SymbolTableFrame) (result *Data, err error)
- func ProfileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func QuasiquoteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func QuitImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func QuoteAll(d *Data) (result *Data)
- func QuoteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func QuoteIt(value *Data) (result *Data)
- func QuotientImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RandomByteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RassocImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ReadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RecursiveFlatten(d *Data) (result *Data, err error)
- func RecursiveFlattenImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ReduceLeftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ReduceRightImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RemainderImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RemoveDebugOnEntryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RemoveFromListBang(l *Data, item *Data) (result *Data)
- func RemoveImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RemoveSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ReplaceByteBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ReplaceByteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ResetTimeoutImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RestrictEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Reverse(d *Data) (result *Data)
- func ReverseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func RightShiftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ScheduleImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Second(d *Data) *Data
- func SecondImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SendImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SendSuperImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SetCarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SetCdrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SetNth(list *Data, index int, value *Data) *Data
- func SetNthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SetSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SetStringValue(d *Data, s string) *Data
- func SetVarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Seventh(d *Data) *Data
- func SeventhImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SignImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Sixth(d *Data) *Data
- func SixthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SleepImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SortImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringCapitalizeBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringCapitalizeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringDowncaseBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringDowncaseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringEqualCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringGreaterThanCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringGreaterThanEqualCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringGreaterThanEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringGreaterThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringJoinImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringLengthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringLessThanCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringLessThanEqualCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringLessThanEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringLessThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringNullImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringPrefixpImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringSplitImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringSuffixpImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringToNumberImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringTrimImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringTrimLeftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringTrimRightImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringUpcaseBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringUpcaseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func StringWithValue(s string) *Data
- func SublistImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SubstringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SubstringpImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SubtractImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func SymbolWithName(s string) *Data
- func SystemGlobalEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func TakeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func TapImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Tenth(d *Data) *Data
- func TenthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func TheEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func Third(d *Data) *Data
- func ThirdImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func TimeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ToArray(list *Data) []*Data
- func ToFloatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ToIntImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func TransformJson(xform *Data, jsonNode *Data, parentNode *Data) (xformedJson *Data, err error)
- func UnionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func UnlessImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func UnquoteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func UnquoteSplicingImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WakeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WalkList(d *Data, path string) *Data
- func WhenImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WriteBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WriteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WriteLineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WriteLogImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func WriteStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- func ZeroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
- type FrameMap
- func (self *FrameMap) Clone() *FrameMap
- func (self *FrameMap) Get(key string) (ret *Data)
- func (self *FrameMap) HasSlot(key string) (ret bool)
- func (self *FrameMap) Keys() []*Data
- func (self *FrameMap) Parents() []*FrameMap
- func (self *FrameMap) Remove(key string) bool
- func (self *FrameMap) Set(key string, value *Data) *Data
- func (self *FrameMap) Values() []*Data
- type FrameMapData
- type Function
- func (self *Function) Apply(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
- func (self *Function) ApplyOveriddingEnvironment(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
- func (self *Function) ApplyWithFrame(args *Data, argEnv *SymbolTableFrame, frame *FrameMap) (result *Data, err error)
- func (self *Function) ApplyWithoutEval(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
- func (self *Function) ApplyWithoutEvalWithFrame(args *Data, argEnv *SymbolTableFrame, frame *FrameMap) (result *Data, err error)
- func (self *Function) String() string
- type Macro
- func (self *Macro) Apply(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
- func (self *Macro) ApplyWithoutEval(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
- func (self *Macro) Expand(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
- func (self *Macro) String() string
- type PrimitiveFunction
- type Process
- type RangeRestriction
- type SymbolTableFrame
- func (self *SymbolTableFrame) BindLocallyTo(symbol *Data, value *Data) (*Data, error)
- func (self *SymbolTableFrame) BindTo(symbol *Data, value *Data) (*Data, error)
- func (self *SymbolTableFrame) BindToProtected(symbol *Data, value *Data) *Data
- func (self *SymbolTableFrame) BindingNamed(name string) (b *Binding, present bool)
- func (self *SymbolTableFrame) CurrentCodeString() string
- func (self *SymbolTableFrame) DeleteBinding(name string)
- func (self *SymbolTableFrame) Depth() int
- func (self *SymbolTableFrame) Dump()
- func (self *SymbolTableFrame) DumpHeader()
- func (self *SymbolTableFrame) DumpHeaders()
- func (self *SymbolTableFrame) DumpSingleFrame(frameNumber int)
- func (self *SymbolTableFrame) FindBindingFor(symbol *Data) (binding *Binding, found bool)
- func (self *SymbolTableFrame) HasFrame() bool
- func (self *SymbolTableFrame) InternalDump(frameNumber int)
- func (self *SymbolTableFrame) InternalDumpHeaders(frameNumber int)
- func (self *SymbolTableFrame) SetBindingAt(name string, b *Binding)
- func (self *SymbolTableFrame) SetTo(symbol *Data, value *Data) (result *Data, err error)
- func (self *SymbolTableFrame) ValueOf(symbol *Data) *Data
- func (self *SymbolTableFrame) ValueOfWithFunctionSlotCheck(symbol *Data, needFunction bool) *Data
- type Tokenizer
Constants ¶
View Source
const ( NilType = iota ConsCellType AlistType AlistCellType IntegerType FloatType BooleanType StringType SymbolType FunctionType MacroType PrimitiveType BoxedObjectType FrameType EnvironmentType PortType )
View Source
const ( TrimLeft = iota TrimBoth = iota TrimRight = iota )
View Source
const ( ARGS_ANY = iota ARGS_EQ ARGS_GTE ARGS_RANGE )
View Source
const ( READ_LOCK = iota WRITE_LOCK )
View Source
const ( ILLEGAL = iota SYMBOL NUMBER HEXNUMBER BINARYNUMBER FLOAT STRING QUOTE BACKQUOTE COMMA COMMAAT LPAREN RPAREN LBRACKET RBRACKET LBRACE RBRACE PERIOD TRUE FALSE COMMENT EOF )
Variables ¶
View Source
var DebugCommandPrefix string = ":"
View Source
var DebugEvalInDebugRepl bool = false
View Source
var DebugOnEntry *set.Set = set.New()
View Source
var DebugOnError bool = false
View Source
var DebugSingleStep bool = false
View Source
var DebugTrace = false
View Source
var EvalDepth int = 0
View Source
var IsInteractive bool = false
View Source
var LispTrace = false
View Source
var ProfileEnabled = false
View Source
var ProfileGUID int64 = 0
View Source
var TopLevelEnvironments environmentsTable = environmentsTable{make(map[string]*SymbolTableFrame, 5), sync.RWMutex{}}
Functions ¶
func AddHistory ¶
func AddHistory(line string)
func BooleanValue ¶
func ClearHistory ¶
func ClearHistory()
func DebugRepl ¶
func DebugRepl(env *SymbolTableFrame)
func DottedPairP ¶
func EndProfiling ¶
func EndProfiling()
func EnvironmentP ¶
func FloatValue ¶
func FunctionOrPrimitiveP ¶
func InitBuiltins ¶
func InitBuiltins()
func InitEnvironments ¶
func InitEnvironments()
func IntegerValue ¶
func Length ¶
Function has heavy traffic, try to keep it fast, at least for the list/bytearray cases
func LispToJson ¶
func LispToJson(d *Data) (result interface{})
func LispToJsonString ¶
func LispWithFramesToJson ¶
func LispWithFramesToJson(d *Data) (result interface{})
func LoadHistoryFromFile ¶
func LoadHistoryFromFile(fileName string)
func LogPrintln ¶
func LogPrintln(a ...interface{})
func MakePrimitiveFunction ¶
func MakeSpecialForm ¶
func ObjectType ¶
func ObjectValue ¶
func PrimitiveP ¶
func PrintString ¶
func ProcessError ¶
func ProcessError(errorMessage string, env *SymbolTableFrame) error
func ProfileEnter ¶
func ProfileExit ¶
func RegisterAListPrimitives ¶
func RegisterAListPrimitives()
func RegisterBinaryPrimitives ¶
func RegisterBinaryPrimitives()
func RegisterBytearrayPrimitives ¶
func RegisterBytearrayPrimitives()
func RegisterChannelPrimitives ¶
func RegisterChannelPrimitives()
func RegisterConcurrencyPrimitives ¶
func RegisterConcurrencyPrimitives()
func RegisterDebugPrimitives ¶
func RegisterDebugPrimitives()
func RegisterEnvironmentPrimitives ¶
func RegisterEnvironmentPrimitives()
func RegisterFramePrimitives ¶
func RegisterFramePrimitives()
func RegisterIOPrimitives ¶
func RegisterIOPrimitives()
func RegisterListAccessPrimitives ¶
func RegisterListAccessPrimitives()
func RegisterListFunctionsPrimitives ¶
func RegisterListFunctionsPrimitives()
func RegisterListManipulationPrimitives ¶
func RegisterListManipulationPrimitives()
func RegisterListSetPrimitives ¶
func RegisterListSetPrimitives()
func RegisterMacroPrimitives ¶
func RegisterMacroPrimitives()
func RegisterMathPrimitives ¶
func RegisterMathPrimitives()
func RegisterMutatorPrimitives ¶
func RegisterMutatorPrimitives()
func RegisterRelativePrimitives ¶
func RegisterRelativePrimitives()
func RegisterSpecialFormPrimitives ¶
func RegisterSpecialFormPrimitives()
func RegisterStringPrimitives ¶
func RegisterStringPrimitives()
func RegisterSystemPrimitives ¶
func RegisterSystemPrimitives()
func RegisterTypePredicatePrimitives ¶
func RegisterTypePredicatePrimitives()
func StartProfiling ¶
func StartProfiling(fname string)
func StringValue ¶
func TruncateHistoryFile ¶
func WriteHistoryToFile ¶
func WriteHistoryToFile(fileName string)
Types ¶
type ArgRestriction ¶
type ArgRestriction struct { Type int Restriction interface{} }
type BooleanBox ¶
type BooleanBox struct {
B bool
}
type BoxedObject ¶
func BoxedObjectValue ¶
func BoxedObjectValue(d *Data) *BoxedObject
type Data ¶
var LispFalse *Data = &Data{Type: BooleanType, Value: unsafe.Pointer(&b_false)}
var LispTrue *Data = &Data{Type: BooleanType, Value: unsafe.Pointer(&b_true)}
func AbandonImpl ¶
func AbandonImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AddDebugOnEntryImpl ¶
func AddDebugOnEntryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AppendBang ¶
func AppendBangImpl ¶
func AppendBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AppendBangList ¶
func AppendBytesBangImpl ¶
func AppendBytesBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AppendBytesImpl ¶
func AppendBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AppendImpl ¶
func AppendImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AppendList ¶
func Apply ¶
func Apply(function *Data, args *Data, env *SymbolTableFrame) (result *Data, err error)
func ApplySlotImpl ¶
func ApplySlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ApplySlotSuperImpl ¶
func ApplySlotSuperImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ApplyWithoutEval ¶
func ApplyWithoutEval(function *Data, args *Data, env *SymbolTableFrame) (result *Data, err error)
func ArrayToList ¶
func ArrayToListWithTail ¶
func AtomicAddImpl ¶
func AtomicAddImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AtomicCompareAndSwapImpl ¶
func AtomicCompareAndSwapImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AtomicImpl ¶
func AtomicImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AtomicLoadImpl ¶
func AtomicLoadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AtomicStoreImpl ¶
func AtomicStoreImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func AtomicSwapImpl ¶
func AtomicSwapImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BinaryAndImpl ¶
func BinaryAndImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BinaryNotImpl ¶
func BinaryNotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BinaryOrImpl ¶
func BinaryOrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BitsToFloatImpl ¶
func BitsToFloatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BooleanAndImpl ¶
func BooleanAndImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BooleanNotImpl ¶
func BooleanNotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BooleanOrImpl ¶
func BooleanOrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func BooleanWithValue ¶
func BytesToListImpl ¶
func BytesToListImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CaaaarImpl ¶
func CaaaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CaaadrImpl ¶
func CaaadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CaadarImpl ¶
func CaadarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CaaddrImpl ¶
func CaaddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CadaarImpl ¶
func CadaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CadadrImpl ¶
func CadadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CaddarImpl ¶
func CaddarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CadddrImpl ¶
func CadddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CdaaarImpl ¶
func CdaaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CdaadrImpl ¶
func CdaadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CdadarImpl ¶
func CdadarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CdaddrImpl ¶
func CdaddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CddaarImpl ¶
func CddaarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CddadrImpl ¶
func CddadrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CdddarImpl ¶
func CdddarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CddddrImpl ¶
func CddddrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CeilingImpl ¶
func CeilingImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ChannelReadImpl ¶
func ChannelReadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ChannelTryReadImpl ¶
func ChannelTryReadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ChannelTryWriteImpl ¶
func ChannelTryWriteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ChannelWriteImpl ¶
func ChannelWriteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func CloseChannelImpl ¶
func CloseChannelImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ClosePortImpl ¶
func ClosePortImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ComplementImpl ¶
func ComplementImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ConsStarImpl ¶
func ConsStarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DebugOnEntryImpl ¶
func DebugOnEntryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DebugOnErrorImpl ¶
func DebugOnErrorImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DebugTraceImpl ¶
func DebugTraceImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DecrementImpl ¶
func DecrementImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DefineImpl ¶
func DefineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DefinitionOfImpl ¶
func DefinitionOfImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DefmacroImpl ¶
func DefmacroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DissocImpl ¶
func DissocImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func DumpSymbolTableImpl ¶
func DumpSymbolTableImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EighthImpl ¶
func EighthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentAssignBangImpl ¶
func EnvironmentAssignBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentAssignablePImpl ¶
func EnvironmentAssignablePImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentAssignedPImpl ¶
func EnvironmentAssignedPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentBindingsImpl ¶
func EnvironmentBindingsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentBoundNamesImpl ¶
func EnvironmentBoundNamesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentBoundPImpl ¶
func EnvironmentBoundPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentDefinablePImpl ¶
func EnvironmentDefinablePImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentDefineImpl ¶
func EnvironmentDefineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentLookupImpl ¶
func EnvironmentLookupImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentLookupMacroImpl ¶
func EnvironmentLookupMacroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentMacroNamesImpl ¶
func EnvironmentMacroNamesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentPImpl ¶
func EnvironmentPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentParentImpl ¶
func EnvironmentParentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentParentPImpl ¶
func EnvironmentParentPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentReferenceTypeImpl ¶
func EnvironmentReferenceTypeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EnvironmentWithValue ¶
func EnvironmentWithValue(e *SymbolTableFrame) *Data
func EofObjectImpl ¶
func EofObjectImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func EqualToImpl ¶
func EqualToImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ExpandImpl ¶
func ExpandImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ExtractByteImpl ¶
func ExtractByteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ExtractBytesImpl ¶
func ExtractBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FilterImpl ¶
func FilterImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FindTailImpl ¶
func FindTailImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FindTopLevelEnvironmentImpl ¶
func FindTopLevelEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FlattenImpl ¶
func FlattenImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FloatToBitsImpl ¶
func FloatToBitsImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FloatWithValue ¶
func FoldLeftImpl ¶
func FoldLeftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FoldRightImpl ¶
func FoldRightImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ForEachImpl ¶
func ForEachImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FormatImpl ¶
func FormatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FourthImpl ¶
func FourthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FrameKeysImpl ¶
func FrameKeysImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FrameValuesImpl ¶
func FrameValuesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func FrameWithValue ¶
func FunctionWithNameParamsBodyAndParent ¶
func FunctionWithNameParamsBodyAndParent(name string, params *Data, body *Data, parentEnv *SymbolTableFrame) *Data
func GeneralCarCdrImpl ¶
func GeneralCarCdrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GensymImpl ¶
func GensymImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GensymNakedImpl ¶
func GensymNakedImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GetSlotImpl ¶
func GetSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GetSlotOrNilImpl ¶
func GetSlotOrNilImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GlobalEvalImpl ¶
func GlobalEvalImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GreaterThanImpl ¶
func GreaterThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func GreaterThanOrEqualToImpl ¶
func GreaterThanOrEqualToImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func HasSlotImpl ¶
func HasSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IncrementImpl ¶
func IncrementImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IntegerWithValue ¶
func InternImpl ¶
func InternImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func InternalMakeList ¶
func IntersectionImpl ¶
func IntersectionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IntervalImpl ¶
func IntervalImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsAlistImpl ¶
func IsAlistImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsAtomImpl ¶
func IsAtomImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsBooleanImpl ¶
func IsBooleanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsByteArrayImpl ¶
func IsByteArrayImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsFloatImpl ¶
func IsFloatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsFrameImpl ¶
func IsFrameImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsFunctionImpl ¶
func IsFunctionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsIntegerImpl ¶
func IsIntegerImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsMacroImpl ¶
func IsMacroImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsNumberImpl ¶
func IsNumberImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsPairImpl ¶
func IsPairImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsPortImpl ¶
func IsPortImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsStringImpl ¶
func IsStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func IsSymbolImpl ¶
func IsSymbolImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func JsonStringToLisp ¶
func JsonToLisp ¶
func JsonToLisp(json interface{}) (result *Data)
func JsonToLispImpl ¶
func JsonToLispImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func JsonToLispWithFrames ¶
func JsonToLispWithFrames(data interface{}) *Data
func LambdaImpl ¶
func LambdaImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LastPairImpl ¶
func LastPairImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LeftShiftImpl ¶
func LeftShiftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LessThanImpl ¶
func LessThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LessThanOrEqualToImpl ¶
func LessThanOrEqualToImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LetRecImpl ¶
func LetRecImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LetStarImpl ¶
func LetStarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LispToJsonImpl ¶
func LispToJsonImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LispTraceImpl ¶
func LispTraceImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ListDirectoryImpl ¶
func ListDirectoryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ListHeadImpl ¶
func ListHeadImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ListLengthImpl ¶
func ListLengthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ListRefImpl ¶
func ListRefImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ListTailImpl ¶
func ListTailImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ListToBytesImpl ¶
func ListToBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func LoadFileImpl ¶
func LoadFileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MacroWithNameParamsBodyAndParent ¶
func MacroWithNameParamsBodyAndParent(name string, params *Data, body *Data, parentEnv *SymbolTableFrame) *Data
func MakeChannelImpl ¶
func MakeChannelImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MakeFrameImpl ¶
func MakeFrameImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MakeListImpl ¶
func MakeListImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MakeStringImpl ¶
func MakeStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MakeTopLevelEnvironmentImpl ¶
func MakeTopLevelEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MillisImpl ¶
func MillisImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func MultiplyImpl ¶
func MultiplyImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func NakedSymbolFrom ¶
func NakedSymbolWithName ¶
func NamedLambdaImpl ¶
func NamedLambdaImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func NegativeImpl ¶
func NegativeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func NewlineImpl ¶
func NewlineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func NotEqualImpl ¶
func NotEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func NotNilPImpl ¶
func NotNilPImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func NumberToStringImpl ¶
func NumberToStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func OnErrorImpl ¶
func OnErrorImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func OpenInputFileImpl ¶
func OpenInputFileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func OpenOutputFileImpl ¶
func OpenOutputFileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func PairlisImpl ¶
func PairlisImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ParseAndEval ¶
func ParseAndEvalAll ¶
func ParseAndEvalAllInEnvironment ¶
func ParseAndEvalAllInEnvironment(src string, env *SymbolTableFrame) (result *Data, err error)
func ParseAndEvalInEnvironment ¶
func ParseAndEvalInEnvironment(src string, env *SymbolTableFrame) (result *Data, err error)
func ParseObjectFromFileInEnv ¶
func ParseObjectFromFileInEnv(port *os.File, env *SymbolTableFrame) (result *Data, err error)
func PartitionImpl ¶
func PartitionImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func PortWithValue ¶
func PositiveImpl ¶
func PositiveImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func PrimitiveWithNameAndFunc ¶
func PrimitiveWithNameAndFunc(name string, f *PrimitiveFunction) *Data
func ProcSleepImpl ¶
func ProcSleepImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ProcedureEnvironmentImpl ¶
func ProcedureEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ProcessFile ¶
func ProcessFileInEnvironment ¶
func ProcessFileInEnvironment(filename string, env *SymbolTableFrame) (result *Data, err error)
func ProfileImpl ¶
func ProfileImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func QuasiquoteImpl ¶
func QuasiquoteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func QuotientImpl ¶
func QuotientImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RandomByteImpl ¶
func RandomByteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
Not tested since it just wraps rand.Int()
func RassocImpl ¶
func RassocImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RecursiveFlatten ¶
func RecursiveFlattenImpl ¶
func RecursiveFlattenImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ReduceLeftImpl ¶
func ReduceLeftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ReduceRightImpl ¶
func ReduceRightImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RemainderImpl ¶
func RemainderImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RemoveDebugOnEntryImpl ¶
func RemoveDebugOnEntryImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RemoveFromListBang ¶
func RemoveImpl ¶
func RemoveImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RemoveSlotImpl ¶
func RemoveSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ReplaceByteBangImpl ¶
func ReplaceByteBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ReplaceByteImpl ¶
func ReplaceByteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ResetTimeoutImpl ¶
func ResetTimeoutImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RestrictEnvironmentImpl ¶
func RestrictEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ReverseImpl ¶
func ReverseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func RightShiftImpl ¶
func RightShiftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ScheduleImpl ¶
func ScheduleImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SecondImpl ¶
func SecondImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SendSuperImpl ¶
func SendSuperImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SetCarImpl ¶
func SetCarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SetCdrImpl ¶
func SetCdrImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SetNthImpl ¶
func SetNthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SetSlotImpl ¶
func SetSlotImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SetStringValue ¶
func SetVarImpl ¶
func SetVarImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SeventhImpl ¶
func SeventhImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringCapitalizeBangImpl ¶
func StringCapitalizeBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringCapitalizeImpl ¶
func StringCapitalizeImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringDowncaseBangImpl ¶
func StringDowncaseBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringDowncaseImpl ¶
func StringDowncaseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringEqualCiImpl ¶
func StringEqualCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringEqualImpl ¶
func StringEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringGreaterThanCiImpl ¶
func StringGreaterThanCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringGreaterThanEqualCiImpl ¶
func StringGreaterThanEqualCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringGreaterThanEqualImpl ¶
func StringGreaterThanEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringGreaterThanImpl ¶
func StringGreaterThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringJoinImpl ¶
func StringJoinImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringLengthImpl ¶
func StringLengthImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringLessThanCiImpl ¶
func StringLessThanCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringLessThanEqualCiImpl ¶
func StringLessThanEqualCiImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringLessThanEqualImpl ¶
func StringLessThanEqualImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringLessThanImpl ¶
func StringLessThanImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringNullImpl ¶
func StringNullImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringPrefixpImpl ¶
func StringPrefixpImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringSplitImpl ¶
func StringSplitImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringSuffixpImpl ¶
func StringSuffixpImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringToNumberImpl ¶
func StringToNumberImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringTrimImpl ¶
func StringTrimImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringTrimLeftImpl ¶
func StringTrimLeftImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringTrimRightImpl ¶
func StringTrimRightImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringUpcaseBangImpl ¶
func StringUpcaseBangImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringUpcaseImpl ¶
func StringUpcaseImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func StringWithValue ¶
func SublistImpl ¶
func SublistImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SubstringImpl ¶
func SubstringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SubstringpImpl ¶
func SubstringpImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SubtractImpl ¶
func SubtractImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func SymbolWithName ¶
func SystemGlobalEnvironmentImpl ¶
func SystemGlobalEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func TheEnvironmentImpl ¶
func TheEnvironmentImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func ToFloatImpl ¶
func ToFloatImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func TransformJson ¶
func UnlessImpl ¶
func UnlessImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func UnquoteImpl ¶
func UnquoteImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func UnquoteSplicingImpl ¶
func UnquoteSplicingImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func WriteBytesImpl ¶
func WriteBytesImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func WriteLineImpl ¶
func WriteLineImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func WriteLogImpl ¶
func WriteLogImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
func WriteStringImpl ¶
func WriteStringImpl(args *Data, env *SymbolTableFrame) (result *Data, err error)
type FrameMapData ¶
type Function ¶
type Function struct { Name string Params *Data VarArgs bool RequiredArgCount int Body *Data Env *SymbolTableFrame DebugOnEntry bool SlotFunction int32 ParentProcess *Process }
func FunctionValue ¶
func MakeFunction ¶
func MakeFunction(name string, params *Data, body *Data, parentEnv *SymbolTableFrame) *Function
func (*Function) Apply ¶
func (self *Function) Apply(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
func (*Function) ApplyOveriddingEnvironment ¶
func (self *Function) ApplyOveriddingEnvironment(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
func (*Function) ApplyWithFrame ¶
func (*Function) ApplyWithoutEval ¶
func (self *Function) ApplyWithoutEval(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
func (*Function) ApplyWithoutEvalWithFrame ¶
type Macro ¶
type Macro struct { Name string Params *Data VarArgs bool RequiredArgCount int Body *Data Env *SymbolTableFrame }
func MacroValue ¶
func MakeMacro ¶
func MakeMacro(name string, params *Data, body *Data, parentEnv *SymbolTableFrame) *Macro
func (*Macro) Apply ¶
func (self *Macro) Apply(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
func (*Macro) ApplyWithoutEval ¶
func (self *Macro) ApplyWithoutEval(args *Data, argEnv *SymbolTableFrame) (result *Data, err error)
type PrimitiveFunction ¶
type PrimitiveFunction struct { Name string Special bool ArgRestrictions []ArgRestriction ArgTypes []uint32 Body func(d *Data, env *SymbolTableFrame) (*Data, error) IsRestricted bool }
func PrimitiveValue ¶
func PrimitiveValue(d *Data) *PrimitiveFunction
func (*PrimitiveFunction) Apply ¶
func (self *PrimitiveFunction) Apply(args *Data, env *SymbolTableFrame) (result *Data, err error)
func (*PrimitiveFunction) ApplyWithoutEval ¶
func (self *PrimitiveFunction) ApplyWithoutEval(args *Data, env *SymbolTableFrame) (result *Data, err error)
func (*PrimitiveFunction) String ¶
func (self *PrimitiveFunction) String() string
type RangeRestriction ¶
type SymbolTableFrame ¶
type SymbolTableFrame struct { Name string Parent *SymbolTableFrame Previous *SymbolTableFrame Frame *FrameMap Bindings map[string]*Binding Mutex sync.RWMutex CurrentCode *list.List IsRestricted bool }
var DebugCurrentFrame *SymbolTableFrame = nil
var DebugErrorEnv *SymbolTableFrame = nil
var Global *SymbolTableFrame
func EnvironmentValue ¶
func EnvironmentValue(d *Data) *SymbolTableFrame
func NewSymbolTableFrameBelow ¶
func NewSymbolTableFrameBelow(p *SymbolTableFrame, name string) *SymbolTableFrame
func NewSymbolTableFrameBelowWithFrame ¶
func NewSymbolTableFrameBelowWithFrame(p *SymbolTableFrame, f *FrameMap, name string) *SymbolTableFrame
func (*SymbolTableFrame) BindLocallyTo ¶
func (self *SymbolTableFrame) BindLocallyTo(symbol *Data, value *Data) (*Data, error)
func (*SymbolTableFrame) BindTo ¶
func (self *SymbolTableFrame) BindTo(symbol *Data, value *Data) (*Data, error)
func (*SymbolTableFrame) BindToProtected ¶
func (self *SymbolTableFrame) BindToProtected(symbol *Data, value *Data) *Data
func (*SymbolTableFrame) BindingNamed ¶
func (self *SymbolTableFrame) BindingNamed(name string) (b *Binding, present bool)
func (*SymbolTableFrame) CurrentCodeString ¶
func (self *SymbolTableFrame) CurrentCodeString() string
func (*SymbolTableFrame) DeleteBinding ¶
func (self *SymbolTableFrame) DeleteBinding(name string)
func (*SymbolTableFrame) Depth ¶
func (self *SymbolTableFrame) Depth() int
func (*SymbolTableFrame) Dump ¶
func (self *SymbolTableFrame) Dump()
func (*SymbolTableFrame) DumpHeader ¶
func (self *SymbolTableFrame) DumpHeader()
func (*SymbolTableFrame) DumpHeaders ¶
func (self *SymbolTableFrame) DumpHeaders()
func (*SymbolTableFrame) DumpSingleFrame ¶
func (self *SymbolTableFrame) DumpSingleFrame(frameNumber int)
func (*SymbolTableFrame) FindBindingFor ¶
func (self *SymbolTableFrame) FindBindingFor(symbol *Data) (binding *Binding, found bool)
func (*SymbolTableFrame) HasFrame ¶
func (self *SymbolTableFrame) HasFrame() bool
func (*SymbolTableFrame) InternalDump ¶
func (self *SymbolTableFrame) InternalDump(frameNumber int)
func (*SymbolTableFrame) InternalDumpHeaders ¶
func (self *SymbolTableFrame) InternalDumpHeaders(frameNumber int)
func (*SymbolTableFrame) SetBindingAt ¶
func (self *SymbolTableFrame) SetBindingAt(name string, b *Binding)
func (*SymbolTableFrame) SetTo ¶
func (self *SymbolTableFrame) SetTo(symbol *Data, value *Data) (result *Data, err error)
func (*SymbolTableFrame) ValueOf ¶
func (self *SymbolTableFrame) ValueOf(symbol *Data) *Data
func (*SymbolTableFrame) ValueOfWithFunctionSlotCheck ¶
func (self *SymbolTableFrame) ValueOfWithFunctionSlotCheck(symbol *Data, needFunction bool) *Data
type Tokenizer ¶
type Tokenizer struct { LookaheadToken int LookaheadLit string Source *bufrr.Reader CurrentCh rune NextCh rune Eof bool AlmostEof bool }
func NewTokenizer ¶
func NewTokenizerFromFile ¶
func NewTokenizerFromString ¶
func (*Tokenizer) ConsumeToken ¶
func (self *Tokenizer) ConsumeToken()
Source Files ¶
- binding.go
- data.go
- frame.go
- function.go
- goreadline.go
- json_frame_support.go
- json_support.go
- list_access.go
- logging.go
- macro.go
- parser.go
- prim_alist.go
- prim_binary.go
- prim_bytearray.go
- prim_channel.go
- prim_concurrency.go
- prim_debug.go
- prim_environment.go
- prim_frame.go
- prim_io.go
- prim_list_access.go
- prim_list_functions.go
- prim_list_manipulation.go
- prim_list_set.go
- prim_macros.go
- prim_math.go
- prim_mutators.go
- prim_relative_logical.go
- prim_setup.go
- prim_special_forms.go
- prim_string.go
- prim_system.go
- prim_type_predicates.go
- primitive_function.go
- profiling.go
- repl.go
- symbol_table_frame.go
- tokenizer.go
- util.go
Click to show internal directories.
Click to hide internal directories.