Age | Commit message (Collapse) | Author | Files | Lines |
|
* interp/compiler.boot (compQuote): Use the target mode if appropriate.
* interp/i-spec2.boot (upQUOTE): Likewise.
* algebra/syntax.spad.pamphlet: Use Identifier in lieu of Symbol.
|
|
* interp/br-saturn.boot: Likewise.
* interp/compat.boot: Likewise.
* interp/i-util.boot (textEditor): Define here.
* interp/g-util.boot: Likewise.
|
|
|
|
(genSBCLnativeTranslation): Likewise.
* interp/compiler.boot (emitLocalCallInsn): Likewise.
(compForm1): Allow package call to external function.
(compElt): Likewise.
(getExternalSymbolMode): New.
(compForeignPackageCall): Likewise.
|
|
* interp/i-output.boot (parms2String): New.
(inputForm2String): Handle anonymous functions.
|
|
* Makefile.pamphlet (all-input): Make all-doc a requirement.
(all-doc): Tidy.
* doc/Makefile.in: Likewise. Install help files.
* doc/help: New. Home for help files.
|
|
* interp/sys-os.boot ($NaNvalue): Remove.
(quietDoubleNaN): Import.
* include/cfuns.h (quiet_double_NaN): Rename from NANQ.
* lib/cfuns-c.c (quiet_double_NaN): Likewise.
* algebra/draw.spad.pamphlet: Replace $NaNvalue with quietDoubleNaN.
* algebra/plot.spad.pamphlet: Likewise.
* algebra/plot3d.spad.pamphlet: Likewise.
|
|
* interp/sys-driver.boot (systemMain): Explicitly call toplevel
REPL for SBCL- and ECL-based builds.
* interp/i-toplev.boot (start): Don't special case SBCL here.
* interp/int-top.boot (spad): Likewise.
(intloop): Tidy call to SpadInterpretStream.
(SpadInterpretStream): Don't store to $fn.
* interp/msg.boot (toFile?): Don't check for $fn.
|
|
* interp/int-top.boot (spad): Return 0 for when SBCL is base Lisp
runtime.
* interp/i-toplev.boot (start): Likewise.
|
|
* interp/setvars.boot (setOutputFortran): Transform pathname from
symbol to string.
* testsuite/interpreter/sf-2754400.input: New.
|
|
* interp/sys-os.boot ($NaNvalue): Fix typo.
* testsuite/interpreter/sf-2749682.input: New.
|
|
Croak on missing digit after radix.
(scanNumber): Don't ask for implicit 0 completion for explicit
radix integers.
* interp/int-top.boot (phInterpret): Don't bother evaluating
expressions if earlier phases saw errors.
* interp/msg.boot (getStFromMsg): Fix typo.
|
|
(getFFIDatatype): Accept ReadWrite modifier.
* algebra/data.spad.pamphlet (Int32): New.
(UInt64): Likewise.
* algebra/Makefile.pamphlet (axiom_algebra_layer_7): Include INT64
and UINT64.
|
|
signature import.
* interp/functor.boot (encodeLocalFunctionName): New.
* interp/define.boot (compDefine1): Avoid getAbbreviation.
(doIt): Handle %SignatureImport nodes.
* interp/compiler.boot (emitLocalCallInsn): New.
(applyMapping): Use it.
(compApplication): Likewise.
(bootDenotation): New.
(getBasicFFIType): Likewise.
(getFFIDatatype): Likewise.
(getBootType): Likewise.
(checkExternalEntityType): Likewise.
(checkExternalEntity): Likewise.
(removeModifiers): Likewise.
(compSignatureImport): Likewise.
* interp/vmlisp.lisp (|compileLispDefinition|): New.
* interp/boot-pkg.lisp: Import genImportDeclaration.
* boot/initial-env.lisp: Export genImportDeclaration.
* boot/ast.boot: Tidy. Accept `readwrite' modifier.
|
|
* interp/g-opt.boot (optimizeFunctionDef): Tidy.
* interp/i-syscmd.boot (compileSpad2Cmd): Support ')report' option.
* interp/sys-driver.boot (initializeGlobalState): Likewise.
|
|
|
|
interpretation of 'false' and 'true'.
(optCond): Emit 'NOT', not 'NULL'.
(optIF2COND): Likewise.
(EqualBarGensym): Tidy.
|
|
optimizable domain constructors.
(processInlineRequest): New.
* interp/define.boot (spadCompileOrSetq): Tidy.
(mutateToNothing): New.
(doIt): Use it. Add support for inline directives.
* interp/fnewmeta.lisp (PARSE-Inline): New.
* interp/metalex.lisp (KEYWORDS): Include 'inline'.
|
|
|
|
(mkCategoryPackage): Remove dead code.
(compDefineFunctor1): Tidy.
(compDefineCapsuleFunction): Likewise.
(compileCases): Likewise.
|
|
|
|
|
|
vector.
(compSymbol): Don't interpret 'true' and 'false' as Boolean
constants if domain Boolean is not in scope.
* algebra/any.spad.pamphlet (Property): Tidy.
* algebra/asp.spad.pamphlet (Asp34): Likewise.
* algebra/functions.spad.pamphlet (BasicFunctions): Likewise.
* algebra/lodop.spad.pamphlet (OppositeMonogenicLinearOperator):
Likewise.
* algebra/groebsol.spad.pamphlet: Import Boolean.
|
|
|
|
|
|
pointers to the environment.
(compRecoverAlternative): Likewise.
(compMatch): Likewise.
(compIterator): Likewise.
(compIteratorV): Likewise.
* interp/define.boot (checkRepresentation): Likewise.
* interp/info.boot (actOnInfo): Likewise.
|
|
* configure.ac.pamphlet: Fix indention of CPP directives. Include
<sys/types.h> when testing for openpty.
src/ChangeLog
2009-02-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/sys-utility.boot (%hostByteOrder): Make a function.
* algebra/system.spad.pamphlet (hostByteOrder$System): Adjust call.
2009-02-19 Aleksej Saushev <asau@inbox.ru>
* lib/openpty.c: Include <sys/types.h> when testing for openpty.
|
|
* interp/compiler.boot (compHasFormat): Handle signature for
constants too.
* interp/info.boot (actOnInfo): Likewise.
* algebra/data.spad.pamphlet (sample$Byte): Make a constant.
(SystemInteger): Export constant 'sample'.
(SystemNonNegativeInteger): Likewise.
* algebra/aggcat2.spad.pamphlet (FiniteLinearAggregateFunctions2):
Use 'sample' or 'random' elements when allocating new aggregates.
|
|
explicitly.
* algebra/net.spad.pamphlet (writeBytes!$InetClientStreamSocket):
Convert buffer to array before calling VM function.
(readBytes!$InetClientStreamSocket): Likewise.
* interp/sys-utility.boot (makeByteBuffer): Don't ask for fill
pointers.
|
|
* interp/compat.boot (editFile): Tidy.
* interp/br-op2.boot (modemap2Sig): Don't update $badStack.xo
|
|
|
|
(findConstructor$Constructor): Take constant type as argument.
(upDollar): Tidy.
|
|
* algebra/data.spad.pamphlet (ByteOrder): New.
* algebra/Makefile.pamphlet (axiom_algebra_layer_1): Include BYTEORD.
|
|
Alfredo Portes <doyenatccny@gmail.com>
Fix AW/236, AW/282
* interp/sys-utility.boot (probeReadableFile): New.
* interp/nlib.lisp (probe-name): Remove.
(make-input-filename): Tidy.
* interp/lisplib.boot (readLib1): Return nil if path inexistent.
(getFileProperty): Likewise.
|
|
|
|
* interp/i-coerfn.boot (Dmp2P): Scalar tag is 0 for Polynomial T.
* testsuite/interpreter/aw-83.input (a): New.
|
|
|
|
instead of GENSYM.
* interp/ht-util.boot (htpName): Likewise.
(mkCurryFun): Likewise.
(htRadioButtons): Likewise.
(htBcRadioButtons): Likewise
* interp/br-con.boot (kisValidType): Use $LangSupportTypes.
|
|
thinko.
* interp/bootlex.lisp (get-decimal-number-token): New.
(get-integer-in-radix): Likewise.
(is-radix-char): Likewise.
(get-spad-integer-token): Likewise. Use them.
(get-BOOT-token): Use it.
* interp/metalex.lisp: Tidy.
|
|
* interp/compiler.boot: Likewise.
* interp/define.boot: Likewise.
* interp/functor.boot: Likewise.
* interp/info.boot: Likewise.
* interp/nruncomp.boot: Likewise.
* interp/wi1.boot: Likewise.
* interp/wi2.boot: Likewise.
|
|
on `has'.
(getInverseEnvironment): Likewise.
* algebra/equation2.spad.pamphlet (factorAndSplit$Equation): Fix
misuses of `has'.
* interp/functor.boot (mkTypeForm): Rename from mkDomainConstructor.
|
|
* interp/i-syscmd.boot (displayValue): Fix thinko.
* testsuite/interpreter/sf-2491986.input (a): New.
|
|
(parseType): New. Parse types forms.
(parseTypeList): New. Parse list of type forms.
|
|
Lose second argument. Document.
|
|
(SystemInteger, SystemNonNegativeInteger, Int8, Int16, Int32,
UInt8, UInt 16, UInt32): New.
* algebra/Makefile.pamphlet (axiom_algebra_layer_7): Include INT8,
INT16, INT32, UINT8, UINT16, UINT32.
|
|
(makeByteBuffer): Set fill pointer.
(connectToHostAndPort): Define here.
(readByteFromStreamSocket): Likewise.
(writeByteToStreamSocket): Likewise.
* interp/sys-os.boot (doConnectToHostAndPort): Rename from
connectot$NetworkClientSocket.
(doReadByteFromStreamSocket): Rename from readByteFromStreamSocket.
(doWriteByteToStreamSocket): Rename from writeByteToStreamSocket.
* algebra/net.spad.pamphlet: Use Maybe Byte.
* algebra/data.spad.pamphlet (ByteBuffer): Fix fill pointer thinko.
|
|
|
|
* interp/g-util.boot (isSubDomain): Tidy.
* interp/g-opt.boot (isVMConstantForm): New.
(findVMFreeVars): Likewise.
* interp/define.boot (insertViewMorphisms): Remove.
(emitSubdomainInfo): New.
(checkVariableName): Likewise.
(checkParameterNames): Likewise.
(checkRepresentation): Set $subdomain where appropriate.
(compDefines): Check parameter names.
(compDefineFunctor1): Propagate subdomain info.
(doIt): Don't call insertViewMorphisms.
* interp/compiler.boot (setqSingle): Check variable name.
(compIterator): Likewise.
(commonSuperType): New.
(satisfies): Likewise.
(coerceSubset): Use them to implemen cross-subdomain coercion.
(coerceSuperset): New.
(comCoerce1): Use it.
(compPer): New.
(compRep): Likewise.
* interp/c-util.boot (getRepresentation): New.
(proclaimCapsuleFunction): Improve for specialized subdomains.
* algebra/stream.spad.pamphlet: Don't use `per' as variable name.
* algebra/si.spad.pamphlet (size$SingleInteger): Tidy.
(coerce$SingleInteger): Likewise.
* algebra/reclos.spad.pamphlet (nonNull$RealClosure): Don't use
`rep' as parameter name.
* algebra/data.spad.pamphlet (Byte): Now a subdomain of
NonNegativeInteger. Tidy.
|
|
* interp/g-util.boot (superType): Handle current domain form.
(maximalSuperType): Tidy.
(noteSubDomainInfo): Call SETDATABASE.
|
|
* interp/compat.boot (system): Likewise.
* interp/astr.boot (ncEltQ): Fix declaration.
* interp/compiler.boot (compMapCond'): Likewise.
(compMapCond): Likewise.
(compMapCondFun): Remove declaration.
|