This is the chemical-compounds Reference Manual, version 1.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 16:38:31 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
chemical-compounds
Peter Scott
LLGPL
1.0.1
periodic-table
(system).
parsing.lisp
(file).
compounds.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
chemical-compounds/chemical-compounds.asd
chemical-compounds/parsing.lisp
chemical-compounds/compounds.lisp
chemical-compounds/chemical-compounds.asd
chemical-compounds
(system).
chemical-compounds/parsing.lisp
chemical-compounds
(system).
parse-compound
(function).
print-object
(method).
*meta-debug*
(special variable).
compileit
(function).
copy-meta
(function).
ctoi
(function).
defmeta
(macro).
digit
(type).
end-of-string-p
(function).
make-meta
(function).
match
(macro).
match-type
(macro).
matchit
(macro).
meta
(structure).
meta-char
(reader).
(setf meta-char)
(writer).
meta-form
(reader).
(setf meta-form)
(writer).
meta-labels
(macro).
meta-p
(function).
meta-reader
(function).
non-rparen-char
(type).
nonspace-char
(type).
number-char
(type).
parse-int
(function).
parse-query-string
(function).
parse-x-and-y
(function).
space-char
(type).
strings->element-list
(function).
with-string-accumulation
(macro).
chemical-compounds/compounds.lisp
parsing.lisp
(file).
chemical-compounds
(system).
formula-weight
(function).
get-compound
(function).
parse-compound
(function).
pprint-compound
(function).
element-number-pair-p
(function).
Packages are listed by definition order.
compounds
common-lisp
.
elements
.
formula-weight
(function).
get-compound
(function).
parse-compound
(function).
pprint-compound
(function).
element-number-pair-p
(function).
compound-parsing
common-lisp
.
parse-compound
(function).
*meta-debug*
(special variable).
compileit
(function).
copy-meta
(function).
ctoi
(function).
defmeta
(macro).
digit
(type).
end-of-string-p
(function).
make-meta
(function).
match
(macro).
match-type
(macro).
matchit
(macro).
meta
(structure).
meta-char
(reader).
(setf meta-char)
(writer).
meta-form
(reader).
(setf meta-form)
(writer).
meta-labels
(macro).
meta-p
(function).
meta-reader
(function).
non-rparen-char
(type).
nonspace-char
(type).
number-char
(type).
parse-int
(function).
parse-query-string
(function).
parse-x-and-y
(function).
space-char
(type).
strings->element-list
(function).
with-string-accumulation
(macro).
Definitions are sorted by export status, category, package, and then by lexicographic order.
The number of grams per mole of a compound
Return a compound designator given either a compound designator or a string in compound syntax
Parse a compound string, such as C6 H12 O6
Pretty print a compound, putting parens around it if ‘parens’ is t. This is so ugly that I’ve come to despise it, but it works. Don’t touch it unless you want it to shatter into a million little pieces.
Should META output debugging information?
Given a list of symbols, create character output streams bound to the
symbols given in ‘strings’ with -STREAM appended, execute ‘body’ in this
environment, and SETF all the symbol-values of the symbols in ‘strings’
to the values of their respective string output streams.
It also defines a local function FORCE-STRING-ACCUMULATION which will
do the SETFing when it is called. It is called automatically at the end
of the block, but you can call it earlier, as many times as you like.
It clears the string streams, so be careful when using it.
The utility of this macro may not be readily apparent, but is can be very handy in META parsers which need to accumulate characters into strings.
Return t if ‘compound’ is a pair of an element and a number of that element, such as (C 6)
Is index above the maximum index allowed for a given string?
char
.
form
.
Convert an element (which may be a string or a compound designator) and a number given as a string into a proper compound designator.
Jump to: | (
C D E F G M P S W |
---|
Jump to: | (
C D E F G M P S W |
---|
Jump to: | *
C F S |
---|
Jump to: | *
C F S |
---|
Jump to: | C D F M N P S T |
---|
Jump to: | C D F M N P S T |
---|