This is the infix-math Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:28:06 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
infix-math
An extensible infix syntax for math in Common Lisp.
Paul M. Rodriguez <pmr@ruricolist.com>
MIT
asdf-package-system
(system).
infix-math/infix-math
(system).
infix-math/infix-math
Paul M. Rodriguez <pmr@ruricolist.com>
MIT
alexandria
(system).
serapeum
(system).
infix-math/symbols
(system).
infix-math/data
(system).
wu-decimal
(system).
parse-number
(system).
infix-math/data
Paul M. Rodriguez <pmr@ruricolist.com>
MIT
alexandria
(system).
serapeum
(system).
infix-math/symbols
(system).
Files are sorted by type and then listed depth-first from the systems components trees.
infix-math/infix-math.asd
infix-math/infix-math/file-type.lisp
infix-math/symbols/file-type.lisp
infix-math/data/file-type.lisp
infix-math/infix-math/file-type.lisp
infix-math/infix-math
(system).
$
(macro).
eliminate-common-subexpressions
(function).
expand-expression
(function).
expand-fancy-symbols
(function).
make-node
(function).
nodef
(macro).
parse-coefficient
(function).
parse-expression
(function).
precedence<
(function).
precedence=
(function).
shunting-yard
(function).
valid?
(function).
infix-math/symbols/file-type.lisp
infix-math/symbols
(system).
%
(compiler macro).
%
(function).
&
(compiler macro).
&
(function).
<<
(compiler macro).
<<
(function).
>>
(compiler macro).
>>
(function).
^
(compiler macro).
^
(function).
over
(compiler macro).
over
(function).
×
(compiler macro).
×
(function).
÷
(compiler macro).
÷
(function).
π
(symbol macro).
√
(compiler macro).
√
(function).
ash-
(function).
binary-operator
(macro).
binary-operators
(macro).
e
(symbol macro).
i
(symbol macro).
unary-operator
(macro).
unary-operators
(macro).
infix-math/data/file-type.lisp
infix-math/data
(system).
declare-binary-operator
(macro).
declare-unary-operator
(macro).
operator?
(function).
precedence
(function).
(setf precedence)
(function).
precedence
(type).
right-associative?
(function).
(setf right-associative?)
(function).
trim-dotted-operator
(function).
unary
(macro).
unary?
(function).
(setf unary?)
(function).
*order-of-operations*
(special variable).
*precedence*
(special variable).
*right-associative*
(special variable).
*unary*
(special variable).
dotted-operator?
(function).
looks-like-operator?
(function).
operator
(type).
operator-char?
(function).
save-operator
(function).
save-unary-operator
(function).
Packages are listed by definition order.
infix-math/symbols
common-lisp
.
%
(compiler macro).
%
(function).
&
(compiler macro).
&
(function).
<<
(compiler macro).
<<
(function).
>>
(compiler macro).
>>
(function).
^
(compiler macro).
^
(function).
over
(compiler macro).
over
(function).
×
(compiler macro).
×
(function).
÷
(compiler macro).
÷
(function).
π
(symbol macro).
√
(compiler macro).
√
(function).
ash-
(function).
binary-operator
(macro).
binary-operators
(macro).
e
(symbol macro).
i
(symbol macro).
unary-operator
(macro).
unary-operators
(macro).
infix-math/infix-math
infix-math
alexandria
.
common-lisp
.
infix-math/data
.
infix-math/symbols
.
serapeum
.
$
(macro).
eliminate-common-subexpressions
(function).
expand-expression
(function).
expand-fancy-symbols
(function).
make-node
(function).
nodef
(macro).
parse-coefficient
(function).
parse-expression
(function).
precedence<
(function).
precedence=
(function).
shunting-yard
(function).
valid?
(function).
infix-math/data
alexandria
.
common-lisp
.
infix-math/symbols
.
serapeum
.
declare-binary-operator
(macro).
declare-unary-operator
(macro).
operator?
(function).
precedence
(function).
(setf precedence)
(function).
precedence
(type).
right-associative?
(function).
(setf right-associative?)
(function).
trim-dotted-operator
(function).
unary
(macro).
unary?
(function).
(setf unary?)
(function).
*order-of-operations*
(special variable).
*precedence*
(special variable).
*right-associative*
(special variable).
*unary*
(special variable).
dotted-operator?
(function).
looks-like-operator?
(function).
operator
(type).
operator-char?
(function).
save-operator
(function).
save-unary-operator
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Compile a mathematical formula in infix notation.
Pretend unary operators are binary operators.
Basic C-style operator precedence, with some differences.
The use of MIN, MAX, GCD and LCM as infix operators is after Dijkstra (see EWD 1300). Perl 6 is also supposed to use them this way, and I have adopted its precedence levels.
Table of operator precedence.
Expand -x into (- x) and 2x into (* 2 x).
Literal coefficients have the same precedence as unary operators.
Literal coefficients are assumed to be in base 10.
Does SYM start and end with an operator char?
Jump to: | $
%
&
(
<
>
^
×
÷
√
A B C D E F L M N O P R S T U V |
---|
Jump to: | $
%
&
(
<
>
^
×
÷
√
A B C D E F L M N O P R S T U V |
---|
Jump to: | *
E I S Π |
---|
Jump to: | *
E I S Π |
---|
Jump to: | F I O P S T |
---|
Jump to: | F I O P S T |
---|