Versions in this module Expand all Collapse all v0 v0.0.0 Feb 4, 2020 Changes in this version + var MostNegativeFloat = instance.NewFloat(-math.MaxFloat64) + var MostPositiveFloat = instance.NewFloat(math.MaxFloat64) + var Nil = instance.Nil + var Pi = instance.NewFloat(3.141592653589793) + var T = instance.NewSymbol("T") + var TopLevel = env.NewEnvironment(instance.NewStream(os.Stdin, nil), instance.NewStream(nil, os.Stdout), ...) + func Abs(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Add(e env.Environment, x ...ilos.Instance) (ilos.Instance, ilos.Instance) + func And(e env.Environment, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Append(e env.Environment, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Apply(e env.Environment, function ilos.Instance, obj ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Aref(e env.Environment, basicArray ilos.Instance, dimensions ...ilos.Instance) (ilos.Instance, ilos.Instance) + func ArrayDimensions(e env.Environment, basicArray ilos.Instance) (ilos.Instance, ilos.Instance) + func Assoc(e env.Environment, obj, associationList ilos.Instance) (ilos.Instance, ilos.Instance) + func Atan(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Atan2(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Atanh(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func BasicArrayP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func BasicArrayStarP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func BasicVectorP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Block(e env.Environment, tag ilos.Instance, body ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Car(e env.Environment, cons ilos.Instance) (ilos.Instance, ilos.Instance) + func Case(e env.Environment, key ilos.Instance, pattern ...ilos.Instance) (ilos.Instance, ilos.Instance) + func CaseUsing(e env.Environment, pred, key ilos.Instance, pattern ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Catch(e env.Environment, tag ilos.Instance, body ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Cdr(e env.Environment, cons ilos.Instance) (ilos.Instance, ilos.Instance) + func Ceiling(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Cerror(e env.Environment, continueString, errorString ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func CharEqual(e env.Environment, char1, char2 ilos.Instance) (ilos.Instance, ilos.Instance) + func CharGreaterThan(e env.Environment, char1, char2 ilos.Instance) (ilos.Instance, ilos.Instance) + func CharGreaterThanOrEqual(e env.Environment, char1, char2 ilos.Instance) (ilos.Instance, ilos.Instance) + func CharIndex(e env.Environment, char, str ilos.Instance, startPosition ...ilos.Instance) (ilos.Instance, ilos.Instance) + func CharLessThan(e env.Environment, char1, char2 ilos.Instance) (ilos.Instance, ilos.Instance) + func CharLessThanOrEqual(e env.Environment, char1, char2 ilos.Instance) (ilos.Instance, ilos.Instance) + func CharNotEqual(e env.Environment, char1, char2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Characterp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Class(e env.Environment, className ilos.Instance) (ilos.Class, ilos.Instance) + func ClassOf(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Close(e env.Environment, stream ilos.Instance) (ilos.Instance, ilos.Instance) + func Cond(e env.Environment, testFrom ...ilos.Instance) (ilos.Instance, ilos.Instance) + func ConditionContinuable(e env.Environment, condition ilos.Instance) (ilos.Instance, ilos.Instance) + func Cons(e env.Environment, obj1, obj2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Consp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func ContinueCondition(e env.Environment, condition ilos.Instance, value ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Convert(e env.Environment, object, class1 ilos.Instance) (ilos.Instance, ilos.Instance) + func Cos(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Cosh(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Create(e env.Environment, c ilos.Instance, i ...ilos.Instance) (ilos.Instance, ilos.Instance) + func CreateArray(e env.Environment, dimensions ilos.Instance, initialElement ...ilos.Instance) (ilos.Instance, ilos.Instance) + func CreateList(e env.Environment, i ilos.Instance, initialElement ...ilos.Instance) (ilos.Instance, ilos.Instance) + func CreateString(e env.Environment, i ilos.Instance, initialElement ...ilos.Instance) (ilos.Instance, ilos.Instance) + func CreateStringInputStream(e env.Environment, str ilos.Instance) (ilos.Instance, ilos.Instance) + func CreateStringOutputStream(e env.Environment) (ilos.Instance, ilos.Instance) + func CreateVector(e env.Environment, i ilos.Instance, initialElement ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Defclass(e env.Environment, className, scNames, slotSpecs ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func Defconstant(e env.Environment, name, form ilos.Instance) (ilos.Instance, ilos.Instance) + func Defdynamic(e env.Environment, name, form ilos.Instance) (ilos.Instance, ilos.Instance) + func Defgeneric(e env.Environment, funcSpec, lambdaList ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func Defglobal(e env.Environment, name, form ilos.Instance) (ilos.Instance, ilos.Instance) + func Defmacro(e env.Environment, macroName, lambdaList ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Defmethod(e env.Environment, arguments ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Defun(e env.Environment, functionName, lambdaList ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func Div(e env.Environment, z1, z2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Dynamic(e env.Environment, var1 ilos.Instance) (ilos.Instance, ilos.Instance) + func DynamicLet(e env.Environment, varForm ilos.Instance, bodyForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Elt(e env.Environment, sequence, z ilos.Instance) (ilos.Instance, ilos.Instance) + func Eq(e env.Environment, obj1, obj2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Eql(e env.Environment, obj1, obj2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Equal(e env.Environment, obj1, obj2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Error(e env.Environment, continueString, errorString ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func ErrorOutput(e env.Environment) (ilos.Instance, ilos.Instance) + func Eval(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Exp(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Expt(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Flet(e env.Environment, functions ilos.Instance, bodyForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Float(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Floatp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Floor(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func FlushOutput(e env.Environment, stream ilos.Instance) (ilos.Instance, ilos.Instance) + func For(e env.Environment, iterationSpecs, endTestAndResults ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func Format(e env.Environment, stream, formatString ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func FormatChar(e env.Environment, stream, object ilos.Instance) (ilos.Instance, ilos.Instance) + func FormatFloat(e env.Environment, stream, object ilos.Instance) (ilos.Instance, ilos.Instance) + func FormatFreshLine(e env.Environment, stream ilos.Instance) (ilos.Instance, ilos.Instance) + func FormatInteger(e env.Environment, stream, object, radix ilos.Instance) (ilos.Instance, ilos.Instance) + func FormatObject(e env.Environment, stream, object, escapep ilos.Instance) (ilos.Instance, ilos.Instance) + func FormatTab(e env.Environment, stream, num ilos.Instance) (ilos.Instance, ilos.Instance) + func Funcall(e env.Environment, function ilos.Instance, obj ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Function(e env.Environment, fun ilos.Instance) (ilos.Instance, ilos.Instance) + func Functionp(e env.Environment, fun ilos.Instance) (ilos.Instance, ilos.Instance) + func Garef(e env.Environment, generalArray ilos.Instance, dimensions ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Gcd(e env.Environment, z1, z2 ilos.Instance) (ilos.Instance, ilos.Instance) + func GeneralArrayStarP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func GeneralVectorP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Gensym(e env.Environment) (ilos.Instance, ilos.Instance) + func GetOutputStreamString(e env.Environment, stream ilos.Instance) (ilos.Instance, ilos.Instance) + func Go(e env.Environment, tag ilos.Instance) (ilos.Instance, ilos.Instance) + func If(e env.Environment, testForm, thenForm ilos.Instance, elseForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func IgnoreError(e env.Environment, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func InitializeObject(e env.Environment, object ilos.Instance, inits ...ilos.Instance) (ilos.Instance, ilos.Instance) + func InputStreamP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Instancep(e env.Environment, obj ilos.Instance, class ilos.Class) (ilos.Instance, ilos.Instance) + func Integerp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Isqrt(e env.Environment, z ilos.Instance) (ilos.Instance, ilos.Instance) + func Labels(e env.Environment, functions ilos.Instance, bodyForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Lambda(e env.Environment, lambdaList ilos.Instance, form ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Lcm(e env.Environment, z1, z2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Length(e env.Environment, sequence ilos.Instance) (ilos.Instance, ilos.Instance) + func Let(e env.Environment, varForm ilos.Instance, bodyForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func LetStar(e env.Environment, varForm ilos.Instance, bodyForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func List(e env.Environment, objs ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Listp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Log(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func MapInto(e env.Environment, destination, function ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func Mapc(e env.Environment, function, list1 ilos.Instance, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Mapcan(e env.Environment, function, list1 ilos.Instance, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Mapcar(e env.Environment, function, list1 ilos.Instance, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Mapcon(e env.Environment, function, list1 ilos.Instance, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Mapl(e env.Environment, function, list1 ilos.Instance, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Maplist(e env.Environment, function, list1 ilos.Instance, lists ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Max(e env.Environment, x ilos.Instance, xs ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Member(e env.Environment, obj, list ilos.Instance) (ilos.Instance, ilos.Instance) + func Min(e env.Environment, x ilos.Instance, xs ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Mod(e env.Environment, z1, z2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Multiply(e env.Environment, x ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Not(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Nreverse(e env.Environment, list ilos.Instance) (ilos.Instance, ilos.Instance) + func Null(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func NumberEqual(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func NumberGreaterThan(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func NumberGreaterThanOrEqual(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func NumberLessThan(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func NumberLessThanOrEqual(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func NumberNotEqual(e env.Environment, x1, x2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Numberp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func OpenInputFile(e env.Environment, filename ilos.Instance, elementClass ...ilos.Instance) (ilos.Instance, ilos.Instance) + func OpenIoFile(e env.Environment, filename ilos.Instance, elementClass ...ilos.Instance) (ilos.Instance, ilos.Instance) + func OpenOutputFile(e env.Environment, filename ilos.Instance, elementClass ...ilos.Instance) (ilos.Instance, ilos.Instance) + func OpenStreamP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Or(e env.Environment, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func OutputStreamP(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func ParseNumber(e env.Environment, str ilos.Instance) (ilos.Instance, ilos.Instance) + func Progn(e env.Environment, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Property(e env.Environment, symbol, propertyName ilos.Instance, obj ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Quasiquote(e env.Environment, form ilos.Instance) (ilos.Instance, ilos.Instance) + func Quote(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Quotient(e env.Environment, dividend, divisor1 ilos.Instance, divisor ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Read(e env.Environment, options ...ilos.Instance) (ilos.Instance, ilos.Instance) + func ReadChar(e env.Environment, options ...ilos.Instance) (ilos.Instance, ilos.Instance) + func ReadLine(e env.Environment, options ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Reciprocal(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func RemoveProperty(e env.Environment, symbol, propertyName ilos.Instance) (ilos.Instance, ilos.Instance) + func ReportCondition(e env.Environment, condition, stream ilos.Instance) (ilos.Instance, ilos.Instance) + func ReturnFrom(e env.Environment, tag, object ilos.Instance) (ilos.Instance, ilos.Instance) + func Reverse(e env.Environment, list ilos.Instance) (ilos.Instance, ilos.Instance) + func Round(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func SetAref(e env.Environment, obj, basicArray ilos.Instance, dimensions ...ilos.Instance) (ilos.Instance, ilos.Instance) + func SetCar(e env.Environment, obj, cons ilos.Instance) (ilos.Instance, ilos.Instance) + func SetCdr(e env.Environment, obj, cons ilos.Instance) (ilos.Instance, ilos.Instance) + func SetDynamic(e env.Environment, form, var1 ilos.Instance) (ilos.Instance, ilos.Instance) + func SetElt(e env.Environment, obj, sequence, z ilos.Instance) (ilos.Instance, ilos.Instance) + func SetGaref(e env.Environment, obj, generalArray ilos.Instance, ...) (ilos.Instance, ilos.Instance) + func SetProperty(e env.Environment, obj, symbol, propertyName ilos.Instance) (ilos.Instance, ilos.Instance) + func Setf(e env.Environment, var1, form ilos.Instance) (ilos.Instance, ilos.Instance) + func Setq(e env.Environment, var1, form ilos.Instance) (ilos.Instance, ilos.Instance) + func SignalCondition(e env.Environment, condition, continuable ilos.Instance) (ilos.Instance, ilos.Instance) + func Sin(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Sinh(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Sqrt(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func StandardInput(e env.Environment) (ilos.Instance, ilos.Instance) + func StandardOutput(e env.Environment) (ilos.Instance, ilos.Instance) + func StreamReadyP(e env.Environment, inputStream ilos.Instance) (ilos.Instance, ilos.Instance) + func Streamp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func StringAppend(e env.Environment, str ...ilos.Instance) (ilos.Instance, ilos.Instance) + func StringEqual(e env.Environment, string1, string2 ilos.Instance) (ilos.Instance, ilos.Instance) + func StringGreaterThan(e env.Environment, string1, string2 ilos.Instance) (ilos.Instance, ilos.Instance) + func StringGreaterThanOrEqual(e env.Environment, string1, string2 ilos.Instance) (ilos.Instance, ilos.Instance) + func StringIndex(e env.Environment, sub, str ilos.Instance, startPosition ...ilos.Instance) (ilos.Instance, ilos.Instance) + func StringLessThan(e env.Environment, string1, string2 ilos.Instance) (ilos.Instance, ilos.Instance) + func StringLessThanOrEqual(e env.Environment, string1, string2 ilos.Instance) (ilos.Instance, ilos.Instance) + func StringNotEqual(e env.Environment, string1, string2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Stringp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Subclassp(e env.Environment, class1, class2 ilos.Class) (ilos.Instance, ilos.Instance) + func Subseq(e env.Environment, sequence, z1, z2 ilos.Instance) (ilos.Instance, ilos.Instance) + func Substruct(e env.Environment, x ilos.Instance, xs ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Symbolp(e env.Environment, obj ilos.Instance) (ilos.Instance, ilos.Instance) + func Tagbody(e env.Environment, body ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Tan(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Tanh(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func Throw(e env.Environment, tag, object ilos.Instance) (ilos.Instance, ilos.Instance) + func TopLevelHander(e env.Environment, c ilos.Instance) (ilos.Instance, ilos.Instance) + func Truncate(e env.Environment, x ilos.Instance) (ilos.Instance, ilos.Instance) + func UnwindProtect(e env.Environment, form ilos.Instance, cleanupForms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func Vector(e env.Environment, obj ...ilos.Instance) (ilos.Instance, ilos.Instance) + func While(e env.Environment, testForm ilos.Instance, bodyForm ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithErrorOutput(e env.Environment, streamForm ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithHandler(e env.Environment, handler ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithOpenInputFile(e env.Environment, fileSpec ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithOpenIoFile(e env.Environment, fileSpec ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithOpenOutputFile(e env.Environment, fileSpec ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithStandardInput(e env.Environment, streamForm ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance) + func WithStandardOutput(e env.Environment, streamForm ilos.Instance, forms ...ilos.Instance) (ilos.Instance, ilos.Instance)