view lisp/calc/calc-lang.el @ 51086:3b5b1167fdf4
(put-arrow): Rename gdb-put-arrow and simplify.
(put-string): Rename gdb-put-string and simplify.
(remove-strings): Rename gdb-remove-strings.
(remove-arrow): Rename gdb-remove-arrow.
(gdb-assembler-custom): Try to get line marker (arrow) to display
in window (revisited).
Use with-current-buffer where possible.
author
Nick Roberts <nickrob@snap.net.nz>
date
Sun, 18 May 2003 22:19:17 +0000 (2003-05-18)
parents
0d8b17d428b5
children
695cf19ef79e d7ddb3e565de
line source
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;;; calc-lang.el --- calc language functions
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Author: David Gillespie <daveg@synaptics.com>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Maintainers: D. Goel <deego@gnufans.org>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Colin Walters <walters@debian.org>
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; This file is part of GNU Emacs.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; GNU Emacs is distributed in the hope that it will be useful,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; but WITHOUT ANY WARRANTY. No author or distributor
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; accepts responsibility to anyone for the consequences of using it
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; or for whether it serves any particular purpose or works at all,
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; unless he says so in writing. Refer to the GNU Emacs General Public
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; License for full details.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Everyone is granted permission to copy, modify and redistribute
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; GNU Emacs, but only under the conditions described in the
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; GNU Emacs General Public License. A copy of this license is
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; supposed to have been given to you along with GNU Emacs so you
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; can know your rights and responsibilities. It should be in a
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; file named COPYING. Among other things, the copyright notice
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; and this notice must be preserved on all copies.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;;; Commentary:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;;; Code:
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; This file is autoloaded from calc-ext.el.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (require 'calc-ext)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (require 'calc-macs)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-Need-calc-lang () nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;;; Alternate entry/display languages.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-set-language (lang &optional option no-refresh)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq math-expr-opers (or (get lang 'math-oper-table) math-standard-opers)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 math-expr-function-mapping (get lang 'math-function-table)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 math-expr-variable-mapping (get lang 'math-variable-table)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-language-input-filter (get lang 'math-input-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-language-output-filter (get lang 'math-output-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-vector-brackets (or (get lang 'math-vector-brackets) "[]")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-complex-format (get lang 'math-complex-format)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-radix-formatter (get lang 'math-radix-formatter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-function-open (or (get lang 'math-function-open) "(")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-function-close (or (get lang 'math-function-close) ")"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if no-refresh
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq calc-language lang
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 calc-language-option option)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-change-mode '(calc-language calc-language-option)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list lang option) t)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-normal-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "Normal language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-flat-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'flat)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "Flat language mode (all stack entries shown on one line)")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-big-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'big)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "\"Big\" language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-unformatted-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'unform)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "Unformatted language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-c-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'c)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "`C' language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'c 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "u+" ident -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u!" calcFunc-lnot -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "~" calcFunc-not -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "%" % 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<<" calcFunc-lsh 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">>" calcFunc-rsh 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<" calcFunc-lt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">" calcFunc-gt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<=" calcFunc-leq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">=" calcFunc-geq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "==" calcFunc-eq 150 151 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!=" calcFunc-neq 150 151 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&" calcFunc-and 140 141 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "^" calcFunc-xor 131 130 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|" calcFunc-or 120 121 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&" calcFunc-land 110 111 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "||" calcFunc-lor 100 101 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "?" (math-read-if) 91 90 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 88 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 85 86 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 ))) ; should support full assignments
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'c 'math-function-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( acos . calcFunc-arccos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( acosh . calcFunc-arccosh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( asin . calcFunc-arcsin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( asinh . calcFunc-arcsinh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( atan . calcFunc-arctan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( atan2 . calcFunc-arctan2 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( atanh . calcFunc-arctanh )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'c 'math-variable-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( M_PI . var-pi )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( M_E . var-e )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'c 'math-vector-brackets "{}")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'c 'math-radix-formatter
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (function (lambda (r s)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= r 16) (format "0x%s" s)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= r 8) (format "0%s" s)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (format "%d#%s" r s))))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-pascal-language (n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive "P")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and n (setq n (prefix-numeric-value n)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'pascal n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message (if (and n (/= n 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (> n 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "Pascal language mode (all uppercase)"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "Pascal language mode (all lowercase)")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "Pascal language mode"))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'pascal 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "not" calcFunc-lnot -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "and" calcFunc-and 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "div" calcFunc-idiv 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "mod" % 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u+" ident -1 185 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 185 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "or" calcFunc-or 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "xor" calcFunc-xor 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "shl" calcFunc-lsh 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "shr" calcFunc-rsh 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "in" calcFunc-in 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<" calcFunc-lt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">" calcFunc-gt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<=" calcFunc-leq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">=" calcFunc-geq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-eq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<>" calcFunc-neq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 85 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 80 81 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'pascal 'math-input-filter 'calc-input-case-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'pascal 'math-output-filter 'calc-output-case-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'pascal 'math-radix-formatter
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (function (lambda (r s)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= r 16) (format "$%s" s)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (format "%d#%s" r s)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-input-case-filter (str)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (cond ((or (null calc-language-option) (= calc-language-option 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 str)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (t
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (downcase str))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-output-case-filter (str)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (cond ((or (null calc-language-option) (= calc-language-option 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 str)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((> calc-language-option 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (upcase str))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (t
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (downcase str))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-fortran-language (n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive "P")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and n (setq n (prefix-numeric-value n)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'fortran n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message (if (and n (/= n 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (> n 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "FORTRAN language mode (all uppercase)"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "FORTRAN language mode (all lowercase)")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "FORTRAN language mode"))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'fortran 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "u/" (math-parse-fortran-vector) -1 1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" (math-parse-fortran-vector-end) 1 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "**" ^ 201 200 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u+" ident -1 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".LT." calcFunc-lt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".GT." calcFunc-gt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".LE." calcFunc-leq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".GE." calcFunc-geq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".EQ." calcFunc-eq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".NE." calcFunc-neq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".NOT." calcFunc-lnot -1 121 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".AND." calcFunc-land 110 111 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".OR." calcFunc-lor 100 101 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 85 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 80 81 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'fortran 'math-vector-brackets "//")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'fortran 'math-function-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( acos . calcFunc-arccos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( acosh . calcFunc-arccosh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( aimag . calcFunc-im )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( aint . calcFunc-ftrunc )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( asin . calcFunc-arcsin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( asinh . calcFunc-arcsinh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( atan . calcFunc-arctan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( atan2 . calcFunc-arctan2 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( atanh . calcFunc-arctanh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( conjg . calcFunc-conj )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( log . calcFunc-ln )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( nint . calcFunc-round )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( real . calcFunc-re )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'fortran 'math-input-filter 'calc-input-case-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'fortran 'math-output-filter 'calc-output-case-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defvar math-parsing-fortran-vector nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-parse-fortran-vector (op)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((math-parsing-fortran-vector '(end . "\000")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (prog1
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-brackets t "]")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq exp-token (car math-parsing-fortran-vector)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 exp-data (cdr math-parsing-fortran-vector)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-parse-fortran-vector-end (x op)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if math-parsing-fortran-vector
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq math-parsing-fortran-vector (cons exp-token exp-data)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 exp-token 'end
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 exp-data "\000")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 x)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Unmatched closing `/'")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-parse-fortran-subscr (sym args)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq sym (math-build-var-name sym))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while args
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq sym (list 'calcFunc-subscr sym (car args))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 args (cdr args)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 sym)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-tex-language (n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive "P")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and n (setq n (prefix-numeric-value n)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'tex n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message (if (and n (/= n 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (> n 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "TeX language mode with \\hbox{func}(\\hbox{var})"
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "TeX language mode with \\func{\\hbox{var}}")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "TeX language mode"))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'tex 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "u+" ident -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\hat" calcFunc-hat -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\check" calcFunc-check -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\tilde" calcFunc-tilde -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\acute" calcFunc-acute -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\grave" calcFunc-grave -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\dot" calcFunc-dot -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\ddot" calcFunc-dotdot -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\breve" calcFunc-breve -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\bar" calcFunc-bar -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\vec" calcFunc-Vec -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\underline" calcFunc-under -1 950 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u|" calcFunc-abs -1 0 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|" closing 0 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\lfloor" calcFunc-floor -1 0 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\rfloor" closing 0 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\lceil" calcFunc-ceil -1 0 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\rceil" closing 0 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\pm" sdev 300 300 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!" calcFunc-fact 210 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "^" ^ 201 200 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "_" calcFunc-subscr 201 200 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\times" * 191 190 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 191 190 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "2x" * 191 190 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\over" / 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\choose" calcFunc-choose 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\mod" % 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<" calcFunc-lt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">" calcFunc-gt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\leq" calcFunc-leq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\geq" calcFunc-geq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-eq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\neq" calcFunc-neq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\ne" calcFunc-neq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\lnot" calcFunc-lnot -1 121 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\land" calcFunc-land 110 111 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\lor" calcFunc-lor 100 101 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "?" (math-read-if) 91 90 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 85 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 80 81 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\gets" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\to" calcFunc-evalto 40 41 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\to" calcFunc-evalto 40 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=>" calcFunc-evalto 40 41 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=>" calcFunc-evalto 40 -1 )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'tex 'math-function-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( \\arccos . calcFunc-arccos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\arcsin . calcFunc-arcsin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\arctan . calcFunc-arctan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\arg . calcFunc-arg )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\cos . calcFunc-cos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\cosh . calcFunc-cosh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\det . calcFunc-det )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\exp . calcFunc-exp )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\gcd . calcFunc-gcd )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\ln . calcFunc-ln )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\log . calcFunc-log10 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\max . calcFunc-max )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\min . calcFunc-min )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\tan . calcFunc-tan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\sin . calcFunc-sin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\sinh . calcFunc-sinh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\sqrt . calcFunc-sqrt )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\tanh . calcFunc-tanh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\phi . calcFunc-totient )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\mu . calcFunc-moebius )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'tex 'math-variable-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( \\pi . var-pi )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\infty . var-inf )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\infty . var-uinf )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\phi . var-phi )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\gamma . var-gamma )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\sum . (math-parse-tex-sum calcFunc-sum) )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( \\prod . (math-parse-tex-sum calcFunc-prod) )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'tex 'math-complex-format 'i)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-parse-tex-sum (f val)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let (low high save)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (equal exp-data "_") (throw 'syntax "Expected `_'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq save exp-old-pos)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq low (math-read-factor))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (eq (car-safe low) 'calcFunc-eq)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq exp-old-pos (1+ save))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Expected equation")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (equal exp-data "^") (throw 'syntax "Expected `^'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq high (math-read-factor))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list (nth 2 f) (math-read-factor) (nth 1 low) (nth 2 low) high)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-tex-input-filter (str) ; allow parsing of 123\,456\,789.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (string-match "[0-9]\\\\,[0-9]" str)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq str (concat (substring str 0 (1+ (match-beginning 0)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (substring str (1- (match-end 0))))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 str)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'tex 'math-input-filter 'math-tex-input-filter)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-eqn-language (n)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive "P")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'eqn)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "Eqn language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'eqn 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "u+" ident -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 1000 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "prime" (math-parse-eqn-prime) 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "prime" calcFunc-Prime 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "dot" calcFunc-dot 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "dotdot" calcFunc-dotdot 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "hat" calcFunc-hat 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "tilde" calcFunc-tilde 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "vec" calcFunc-Vec 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "dyad" calcFunc-dyad 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "bar" calcFunc-bar 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "under" calcFunc-under 950 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "sub" calcFunc-subscr 931 930 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "sup" ^ 921 920 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "sqrt" calcFunc-sqrt -1 910 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "over" / 900 901 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u|" calcFunc-abs -1 0 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|" closing 0 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "left floor" calcFunc-floor -1 0 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "right floor" closing 0 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "left ceil" calcFunc-ceil -1 0 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "right ceil" closing 0 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+-" sdev 300 300 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!" calcFunc-fact 210 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "times" * 191 190 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 191 190 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "2x" * 191 190 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "%" % 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 170 171 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<" calcFunc-lt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">" calcFunc-gt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<=" calcFunc-leq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">=" calcFunc-geq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-eq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "==" calcFunc-eq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!=" calcFunc-neq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u!" calcFunc-lnot -1 121 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&" calcFunc-land 110 111 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "||" calcFunc-lor 100 101 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "?" (math-read-if) 91 90 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 85 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 80 81 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<-" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "->" calcFunc-evalto 40 41 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "->" calcFunc-evalto 40 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=>" calcFunc-evalto 40 41 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=>" calcFunc-evalto 40 -1 )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'eqn 'math-function-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( arc\ cos . calcFunc-arccos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( arc\ cosh . calcFunc-arccosh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( arc\ sin . calcFunc-arcsin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( arc\ sinh . calcFunc-arcsinh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( arc\ tan . calcFunc-arctan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( arc\ tanh . calcFunc-arctanh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( GAMMA . calcFunc-gamma )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( phi . calcFunc-totient )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( mu . calcFunc-moebius )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( matrix . (math-parse-eqn-matrix) )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'eqn 'math-variable-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( inf . var-uinf )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'eqn 'math-complex-format 'i)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-parse-eqn-matrix (f sym)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((vec nil))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (assoc exp-data '(("ccol") ("lcol") ("rcol")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (equal exp-data calc-function-open)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Expected `{'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq vec (cons (cons 'vec (math-read-expr-list)) vec))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (equal exp-data calc-function-close)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Expected `}'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (equal exp-data calc-function-close)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Expected `}'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-transpose (cons 'vec (nreverse vec)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-parse-eqn-prime (x sym)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (eq (car-safe x) 'var)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (equal exp-data calc-function-open)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((args (if (or (equal exp-data calc-function-close)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (eq exp-token 'end))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 nil
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-expr-list))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (not (or (equal exp-data calc-function-close)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (eq exp-token 'end)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Expected `)'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (cons (intern (format "calcFunc-%s'" (nth 1 x))) args)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list 'var
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern (concat (symbol-name (nth 1 x)) "'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern (concat (symbol-name (nth 2 x)) "'"))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list 'calcFunc-Prime x)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-mathematica-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'math)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "Mathematica language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "[[" (math-read-math-subscr) 250 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!" calcFunc-fact 210 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!" calcFunc-dfact 210 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "^" ^ 201 200 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u+" ident -1 197 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 197 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 195 196 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "2x" * 190 191 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<" calcFunc-lt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">" calcFunc-gt 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<=" calcFunc-leq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">=" calcFunc-geq 160 161 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "==" calcFunc-eq 150 151 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!=" calcFunc-neq 150 151 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u!" calcFunc-lnot -1 121 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&" calcFunc-land 110 111 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "||" calcFunc-lor 100 101 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 85 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 80 81 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "->" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":>" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-function-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( Abs . calcFunc-abs )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ArcCos . calcFunc-arccos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ArcCosh . calcFunc-arccosh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ArcSin . calcFunc-arcsin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ArcSinh . calcFunc-arcsinh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ArcTan . calcFunc-arctan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ArcTanh . calcFunc-arctanh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Arg . calcFunc-arg )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Binomial . calcFunc-choose )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Ceiling . calcFunc-ceil )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Conjugate . calcFunc-conj )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Cos . calcFunc-cos )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Cosh . calcFunc-cosh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( D . calcFunc-deriv )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Dt . calcFunc-tderiv )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Det . calcFunc-det )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Exp . calcFunc-exp )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( EulerPhi . calcFunc-totient )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Floor . calcFunc-floor )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Gamma . calcFunc-gamma )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( GCD . calcFunc-gcd )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( If . calcFunc-if )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Im . calcFunc-im )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Inverse . calcFunc-inv )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Integrate . calcFunc-integ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Join . calcFunc-vconcat )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( LCM . calcFunc-lcm )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Log . calcFunc-ln )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Max . calcFunc-max )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Min . calcFunc-min )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Mod . calcFunc-mod )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( MoebiusMu . calcFunc-moebius )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Random . calcFunc-random )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Round . calcFunc-round )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Re . calcFunc-re )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Sign . calcFunc-sign )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Sin . calcFunc-sin )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Sinh . calcFunc-sinh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Sqrt . calcFunc-sqrt )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Tan . calcFunc-tan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Tanh . calcFunc-tanh )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Transpose . calcFunc-trn )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Length . calcFunc-vlen )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-variable-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( I . var-i )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Pi . var-pi )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( E . var-e )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( GoldenRatio . var-phi )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( EulerGamma . var-gamma )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Infinity . var-inf )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ComplexInfinity . var-uinf )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Indeterminate . var-nan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-vector-brackets "{}")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-complex-format 'I)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-function-open "[")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-function-close "]")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'math 'math-radix-formatter
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (function (lambda (r s) (format "%d^^%s" r s))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-math-subscr (x op)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((idx (math-read-expr-level 0)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (and (equal exp-data "]")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (equal exp-data "]")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax "Expected ']]'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-token)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list 'calcFunc-subscr x idx)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun calc-maple-language ()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (interactive)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-wrapper
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (calc-set-language 'maple)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (message "Maple language mode")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'maple 'math-oper-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( "matrix" ident -1 300 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "MATRIX" ident -1 300 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!" calcFunc-fact 210 -1 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "^" ^ 201 200 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "**" ^ 201 200 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u+" ident -1 197 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "u-" neg -1 197 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "/" / 191 192 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "*" * 191 192 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "intersect" calcFunc-vint 191 192 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "+" + 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "-" - 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "union" calcFunc-vunion 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "minus" calcFunc-vdiff 180 181 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "mod" % 170 170 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ".." (math-read-maple-dots) 165 165 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "\\dots" (math-read-maple-dots) 165 165 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<" calcFunc-lt 160 160 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">" calcFunc-gt 160 160 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<=" calcFunc-leq 160 160 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ">=" calcFunc-geq 160 160 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "=" calcFunc-eq 160 160 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "<>" calcFunc-neq 160 160 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "not" calcFunc-lnot -1 121 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "and" calcFunc-land 110 111 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "or" calcFunc-lor 100 101 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "!!!" calcFunc-pnot -1 85 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "&&&" calcFunc-pand 80 81 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "|||" calcFunc-por 75 76 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ":=" calcFunc-assign 51 50 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( "::" calcFunc-condition 45 46 )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'maple 'math-function-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( bernoulli . calcFunc-bern )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( binomial . calcFunc-choose )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( diff . calcFunc-deriv )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( GAMMA . calcFunc-gamma )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ifactor . calcFunc-prfac )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( igcd . calcFunc-gcd )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( ilcm . calcFunc-lcm )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( int . calcFunc-integ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( modp . % )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( irem . % )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( iquo . calcFunc-idiv )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( isprime . calcFunc-prime )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( length . calcFunc-vlen )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( member . calcFunc-in )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( crossprod . calcFunc-cross )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( inverse . calcFunc-inv )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( trace . calcFunc-tr )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( transpose . calcFunc-trn )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( vectdim . calcFunc-vlen )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'maple 'math-variable-table
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 '( ( I . var-i )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( Pi . var-pi )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( E . var-e )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( infinity . var-inf )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( infinity . var-uinf )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ( infinity . var-nan )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (put 'maple 'math-complex-format 'I)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-maple-dots (x op)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list 'intv 3 x (math-read-expr-level (nth 3 op))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-big-rec (h1 v1 h2 v2 &optional baseline prec short)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or prec (setq prec 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Clip whitespace above or below.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< v1 v2) (math-read-big-emptyp h1 v1 h2 (1+ v1)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq v1 (1+ v1)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< v1 v2) (math-read-big-emptyp h1 (1- v2) h2 v2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq v2 (1- v2)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; If formula is a single line high, normal parser can handle it.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (<= v2 (1+ v1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (or (<= v2 v1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (> h1 (length (setq v2 (nth v1 lines)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h1 v1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq the-baseline v1
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the-h2 h2
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 v2 (nth v1 lines)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h2 (math-read-expr (substring v2 h1 (min h2 (length v2)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (eq (car-safe h2) 'error)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (+ h1 (nth 1 h2)) v1 (nth 2 h2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Clip whitespace at left or right.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< h1 h2) (math-read-big-emptyp h1 v1 (1+ h1) v2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h1 (1+ h1)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< h1 h2) (math-read-big-emptyp (1- h2) v1 h2 v2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h2 (1- h2)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Scan to find widest left-justified "----" in the region.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let* ((widest nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (widest-h2 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (lines-v1 (nthcdr v1 lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (p lines-v1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (v v1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (other-v nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 other-char line len h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (< v v2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq line (car p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 len (min h2 (length line)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (< h1 len)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (/= (aref line h1) ?\ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (and (= (aref line h1) ?\-)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Make sure it's not a minus sign.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (and (< (1+ h1) len) (= (aref line (1+ h1)) ?\-))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (/= (math-read-big-char h1 (1- v)) ?\ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (/= (math-read-big-char h1 (1+ v)) ?\ )))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h h1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< (setq h (1+ h)) len)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (aref line h) ?\-)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (> h widest-h2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq widest v
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 widest-h2 h)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or other-v (setq other-v v other-char (aref line h1)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq v (1+ v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (cdr p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (cond ((not (setq v other-v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h1 v1)) ; Should never happen!
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Quotient.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (widest
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h widest-h2
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 v widest)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((num (math-read-big-rec h1 v1 h v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (den (math-read-big-rec h1 (1+ v) h v2)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (if (and (math-integerp num) (math-integerp den))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-make-frac num den)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (list '/ num den)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Big radical sign.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= other-char ?\\)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= (math-read-big-char (1+ h1) v) ?\|)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (1+ h1) v "Malformed root sign"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 (1+ h1) v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (= (math-read-big-char (1+ h1) (setq v (1- v))) ?\|))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= (math-read-big-char (setq h (+ h1 2)) v) ?\_)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h v "Malformed root sign"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (= (math-read-big-char (setq h (1+ h)) v) ?\_))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 (1+ h1) v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ other-v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list 'calcFunc-sqrt (math-read-big-rec
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (+ h1 2) (1+ v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h (1+ other-v) baseline))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 v the-baseline))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Small radical sign.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((and (= other-char ?V)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char (1+ h1) (1- v)) ?\_))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 h (1- v) nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 (1+ h1) v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (= (math-read-big-char (setq h (1+ h)) (1- v)) ?\_))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list 'calcFunc-sqrt (math-read-big-rec
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (1+ h1) v h (1+ v) t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 v the-baseline))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Binomial coefficient.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((and (= other-char ?\()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char (1+ h1) v) ?\ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (string-match "( *)" (nth v lines) h1) h1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (match-end 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 (1+ h1) v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) (1+ h1) v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list 'calcFunc-choose
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-rec (1+ h1) v1 (1- h) v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-rec (1+ h1) (1+ v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (1- h) v2))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Minus sign.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= other-char ?\-)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list 'neg (math-read-big-rec (1+ h1) v1 h2 v2 v 250 t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 v the-baseline
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h the-h2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Parentheses.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= other-char ?\()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 (1+ h1) v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) (1+ h1) v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (math-read-big-balance (1+ h1) v "(" t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((sep (math-read-big-char (1- h) v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hmid)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= sep ?\.)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= sep ?\])
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (1- h) v "Expected `)'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= sep ?\))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (math-read-big-rec (1+ h1) v1 (1- h) v2 v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq hmid (math-read-big-balance h v "(")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (list p (math-read-big-rec h v1 (1- hmid) v2 v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h hmid)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (cond ((= sep ?\.)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons 'intv (cons (if (= (math-read-big-char
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (1- h) v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ?\))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 0 1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= (math-read-big-char (1- h) v) ?\])
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (1- h) v "Expected `)'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= sep ?\,)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (and (math-realp (car p)) (math-realp (nth 1 p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h1 v "Complex components must be real"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons 'cplx p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= sep ?\;)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (and (math-realp (car p)) (math-anglep (nth 1 p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h1 v "Complex components must be real"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons 'polar p)))))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Matrix.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((and (= other-char ?\[)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= (math-read-big-char (setq h h1) (1+ v)) ?\[)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char (setq h (1+ h)) v) ?\[)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (= (math-read-big-char h v) ?\ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char (setq h (1+ h)) v) ?\[)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char h (1+ v)) ?\[))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((vtop v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (hleft h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (hright nil))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (math-read-big-balance (1+ hleft) v "["))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if hright
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= h hright)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error hright v "Expected `]'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq hright h))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons (math-read-big-rec
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 hleft v h (1+ v)) p))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (memq (math-read-big-char h v) '(?\ ?\,))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char hleft (1+ v)) ?\[)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq v (1+ v)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= hleft h1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= (math-read-big-char h v) ?\ )
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (= (math-read-big-char h v) ?\])
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (1- h) v "Expected `]'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= (math-read-big-char h vtop) ?\,)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) (1- h) v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq v (+ vtop (/ (- v vtop) 2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (cons 'vec (nreverse p)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Square brackets.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= other-char ?\[)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 (1+ h1) v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) (1+ h1) v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p nil
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h (1+ h1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq widest (math-read-big-balance h v "[" t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons (math-read-big-rec
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h v1 (1- widest) v2 v) p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h widest)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char (1- h) v) ?\,)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq widest (math-read-big-char (1- h) v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (or (memq widest '(?\; ?\)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (eq widest ?\.) (cdr p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (1- h) v "Expected `]'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= widest ?\.)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 widest (math-read-big-balance h v "[")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (nconc p (list (math-read-big-big-rec
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h v1 (1- widest) v2 v)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h widest
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (cons 'intv (cons (if (= (math-read-big-char (1- h) v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ?\])
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 3 2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons 'vec (nreverse p)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Date form.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((= other-char ?\<)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq line (nth v lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (string-match ">" line h1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (match-end 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (math-read-big-rec h1 v h (1+ v) v)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Variable name or function call.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((or (and (>= other-char ?a) (<= other-char ?z))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (>= other-char ?A) (<= other-char ?Z)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq line (nth v lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (string-match "\\([a-zA-Z'_]+\\) *" line h1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (match-end 1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 widest (match-end 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (math-match-substring line 1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (= (math-read-big-char widest v) ?\()
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq line (if (string-match "-" p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern (concat "calcFunc-" p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h (1+ widest)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p nil)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp widest v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp widest (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq widest (math-read-big-balance h v "(" t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp (1- h) (1+ v) h v2 nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons (math-read-big-rec
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h v1 (1- widest) v2 v) p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h widest)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (math-read-big-char (1- h) v) ?\,)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= (math-read-big-char (1- h) v) ?\))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error (1- h) v "Expected `)'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (cons line (nreverse p))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list 'var
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern (math-remove-dashes p))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (string-match "-" p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (intern (concat "var-" p)))))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Number.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (t
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq line (nth v lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= (string-match "_?\\([0-9]+.?0*@ *\\)?\\([0-9]+.?0*' *\\)?\\([0-9]+\\(#\\|\\^\\^\\)[0-9a-zA-Z:]+\\|[0-9]+:[0-9:]+\\|[0-9.]+\\([eE][-+_]?[0-9]+\\)?\"?\\)?" line h1) h1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h v "Expected a number"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (match-end 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (math-read-number (math-match-substring line 0)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 v1 h v nil t)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp h1 (1+ v) h v2 nil t)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Now left term is bounded by h1, v1, h, v2; baseline = v.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if baseline
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= v baseline)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h1 v "Inconsistent baseline in formula"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq baseline v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Look for superscripts or subscripts.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq line (nth baseline lines)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 len (min h2 (length line))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 widest h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< widest len)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (aref line widest) ?\ ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq widest (1+ widest)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (>= widest len) (setq widest h2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (math-read-big-emptyp h v widest v2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (math-read-big-emptyp h v1 widest v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h widest)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list '^ p (math-read-big-rec h v1 widest v))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h widest))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (math-read-big-emptyp h v1 widest v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list 'calcFunc-subscr p
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-rec h v widest v2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h widest)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Look for an operator name and grab additional terms.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< h len)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (setq widest (and (math-read-big-emptyp
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h v1 (1+ h) v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-emptyp
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h (1+ v) (1+ h) v2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (string-match "<=\\|>=\\|\\+/-\\|!=\\|&&\\|||\\|:=\\|=>\\|." line h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (assoc (math-match-substring line 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 math-standard-opers)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (>= (nth 2 widest) prec)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (match-end 0)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (not (eq (string-match ",\\|;\\|\\.\\.\\|)\\|\\]\\|:" line h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq widest '("2x" * 196 195)))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (cond ((eq (nth 3 widest) -1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list (nth 1 widest) p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ((equal (car widest) "?")
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((y (math-read-big-rec h v1 h2 v2 baseline nil t)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (= (math-read-big-char the-h2 baseline) ?\:)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error the-h2 baseline "Expected `:'"))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list (nth 1 widest) p y
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-rec (1+ the-h2) v1 h2 v2
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 baseline (nth 3 widest) t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h the-h2)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (t
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq p (list (nth 1 widest) p
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-rec h v1 h2 v2
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 baseline (nth 3 widest) t))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h the-h2))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;; Return all relevant information to caller.
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq the-baseline baseline
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 the-h2 h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or short (= the-h2 h2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h baseline))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-big-char (h v)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (and (>= h h1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (< h h2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (>= v v1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (< v v2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((line (nth v lines)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and line
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (< h (length line))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (aref line h))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ?\ ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-big-emptyp (eh1 ev1 eh2 ev2 &optional what error)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (< ev1 v1) (setq ev1 v1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (< eh1 h1) (setq eh1 h1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (> ev2 v2) (setq ev2 v2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (> eh2 h2) (setq eh2 h2))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or what (setq what ?\ ))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((p (nthcdr ev1 lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (< ev1 ev2)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (progn
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (min eh2 (length (car p))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (and (>= (setq h (1- h)) eh1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (= (aref (car p) h) what)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and error (>= h eh1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h ev1 (if (stringp error)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 error
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 "Whitespace expected")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (< h eh1)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq ev1 (1+ ev1)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (cdr p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (>= ev1 ev2)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-big-error (h v &optional msg)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let ((pos 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (p lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (> v 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq pos (+ pos 1 (length (car p)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 p (cdr p)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 v (1- v)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (+ pos (min h (length (car p))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 err-msg (list 'error h (or msg "Syntax error")))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (throw 'syntax nil)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (defun math-read-big-balance (h v what &optional commas)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (let* ((line (nth v lines))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (len (min h2 (length line)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (count 1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (while (> count 0)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (>= h len)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if what
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (math-read-big-error h1 v (format "Unmatched `%s'" what))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq count 0))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (memq (aref line h) '(?\( ?\[))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq count (1+ count))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (if (if (and commas (= count 1))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (or (memq (aref line h) '(?\) ?\] ?\, ?\;))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (and (eq (aref line h) ?\.)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (< (1+ h) len)
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (eq (aref line (1+ h)) ?\.)))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (memq (aref line h) '(?\) ?\])))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq count (1- count))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 (setq h (1+ h))))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 h))
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申
+ 鐃緒申��申鐃初姐�渇����鐃醇�鐃緒申��申鐃緒申 ;;; calc-lang.el ends here