home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
maths
/
b116_1
/
jacal
/
toploads
< prev
next >
Wrap
Text File
|
1994-01-21
|
4KB
|
94 lines
;;; JACAL: Symbolic Mathematics System. -*-scheme-*-
;;; Copyright 1989, 1990, 1991, 1992, 1993 Aubrey Jaffer.
;;; See the file "COPYING" for terms applying to this program.
(define *jacal-version* "1a2")
;(load (in-vicinity (program-vicinity) "types" (scheme-file-suffix)))
(load "<JACAL>.types")
;Variables and type conversions.
(define (math:exit b) (cleanup-handlers!) (error "error in math system"))
;error handling when not running (math) [read-eval-print loop]
;(define *diagnostic-output* (current-output-port))
;(load (in-vicinity (program-vicinity) "grammar" (scheme-file-suffix)))
(load "<JACAL>.grammar")
;grammar, I/O, test, and error routines.
;;; These get set in "modeinit.scm"
;grammars to use if none is loaded.
(define *input-grammar* (get-grammar 'scheme))
(define *output-grammar* (get-grammar 'scheme))
(define *echo-grammar* (get-grammar 'null))
(define Language #f)
(define math:debug #f)
(define math:phases #f)
(define math:trace #f)
(define linkradicals #f)
(define Horner #f)
(define page-height #f)
(define page-width #f)
(define newextstr #f)
(define newlabelstr #f)
(define newlabelsym #f)
(define % #f)
(define *symdefs* '()) ;":" environment.
;(define *symdefs* (make-hash-table 37)) ;":" environment.
;(load (in-vicinity (program-vicinity) "sect" (scheme-file-suffix)))
(load "<JACAL>.sect")
;variable naming
;(load (in-vicinity (program-vicinity) "sexp" (scheme-file-suffix)))
(load "<JACAL>.sexp")
;read-eval-print loop. Conversion from
;sexpression to internal form and back.
;(load (in-vicinity (program-vicinity) "poly" (scheme-file-suffix)))
(load "<JACAL>.poly")
;Routines which operate on internal data type POLY.
;(load (in-vicinity (program-vicinity) "elim" (scheme-file-suffix)))
(load "<JACAL>.elim")
;Routines which eliminate variables.
;(load (in-vicinity (program-vicinity) "vect" (scheme-file-suffix)))
(load "<JACAL>.vect")
;Routines which operate on lists of POLY (mtrx).
;(load (in-vicinity (program-vicinity) "norm" (scheme-file-suffix)))
(load "<JACAL>.norm")
;Differentials, finite differentials,
;factoring, and logical operations.
;(load (in-vicinity (program-vicinity) "builtin" (scheme-file-suffix)))
(load "<JACAL>.builtin")
;Routines defined for sexpressions.
(define (info:describe obj) ;autoload for info
(load (in-vicinity jacal-vicinity "info" (scheme-file-suffix)))
(info:describe obj))
(define (info:example obj) ;autoload for info
(load (in-vicinity jacal-vicinity "info" (scheme-file-suffix)))
(info:example obj))
(define (definfo . args) ;autoload for info
(load (in-vicinity jacal-vicinity "info" (scheme-file-suffix)))
(apply definfo args))
;(load (in-vicinity (program-vicinity) "ext" (scheme-file-suffix)))
(load "<JACAL>.ext")
;Field extension creation and simplification.
;(load (in-vicinity (program-vicinity) "parse" (scheme-file-suffix)))
(load "<JACAL>.parse")
;General parser
;(load (in-vicinity (program-vicinity) "unparse" (scheme-file-suffix)))
(load "<JACAL>.unparse")
;infix printer.
;;; These routines test the core mathematical routines;
;;; Beware if they produce warnings or errors.
(poly:test) ;Test for routines in "poly"
(elim:test) ;Test for routines in "bunch"
;(factor:test)
;(mtrx:test)
(newline)
(display "JACAL version ") (display *jacal-version*)
(display ", Copyright 1989, 1990, 1991, 1992, 1993 Aubrey Jaffer
JACAL comes with ABSOLUTELY NO WARRANTY; for details type `(terms)'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `(terms)' for details.
")
(display ";;; Type (math) to begin.")
(newline)
(force-output)