Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the infix-dollar-reader Reference Manual, version 0.3.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:52:03 2020 GMT+0.
• Introduction | What infix-dollar-reader is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
Infix $
operator for reducing redundant paranthesis.
load package;
(asdf:load-system :infix-dollar-reader)
enable to use infix $
notation;
(syntax:use-syntax :infix-dollar)
write your forms with infix $
notation s.t. (the fixnum $ + x 10)
(fun x y $ fun2 z)
This form above would be expanded to below form.
(fun x y (fun2 z))
And also,
(= (+ 1 2 $ * 3 4 $ + 5 6) (+ 1 2 (* 3 4 (+ 5 6)))) ; => T
A symbol name which has any $
characters would cause unexpected behavior.
You should not use any $
characters in a symbol name without barrier or intern from a string.
e.g.
(syntax:use-syntax :infix-dollar)
(defconstant foo$- 1) ; => FOO
;; would be parsed as (defconstant foo(- 1))
(defconstant |FOO$-| 1) ; => FOO$- or |FOO$-|
;; not be parsed a #\$ as a #\( because of barrier
(intern "FOO$-") ; => FOO$-
;; #\$, $-in-a-string and $-in-a-comment are not affected
infix-dollar-reader is under MIT license.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The infix-dollar-reader system |
SUZUKI Shingo
SUZUKI Shingo
MIT
Infix $ operator for reducing redundant parenthesis
0.3.0
cl-syntax
infix-dollar-reader.asd (file)
infix-dollar-reader.lisp (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The infix-dollar-reader.asd file | ||
• The infix-dollar-reader/infix-dollar-reader.lisp file |
Next: The infix-dollar-reader/infix-dollar-reader․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
infix-dollar-reader.asd
infix-dollar-reader (system)
Previous: The infix-dollar-reader․asd file, Up: Lisp files [Contents][Index]
infix-dollar-reader (system)
infix-dollar-reader.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The infix-dollar-reader-asd package | ||
• The infix-dollar-reader package |
Next: The infix-dollar-reader package, Previous: Packages, Up: Packages [Contents][Index]
infix-dollar-reader.asd
Previous: The infix-dollar-reader-asd package, Up: Packages [Contents][Index]
infix-dollar-reader.lisp (file)
common-lisp
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions |
Previous: Exported definitions, Up: Exported definitions [Contents][Index]
Restore whole *readtable*.
CAUTION: unuse-infix-dollar could rollback all of the changes on *readtable*
after invoking enable-infix-dollar.
infix-dollar-reader.lisp (file)
Enable infix $ operator.
CAUTION: enable-infix-dollar could modify *readtable* globally.
infix-dollar-reader.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal functions |
Next: Internal functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
Saving original readtable
infix-dollar-reader.lisp (file)
infix-dollar-reader.lisp (file)
Previous: Internal special variables, Up: Internal definitions [Contents][Index]
infix-dollar-reader.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F I L |
---|
Jump to: | F I L |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | F I U |
---|
Jump to: | F I U |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Jump to: | *
S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | I P S |
---|
Jump to: | I P S |
---|