The home page is http://common-lisp.net/project/chemboy/
(use-package :elements);; Get the name of the element which has the symbol "Kr" (element-name (symbol-element "Kr")) => "Krypton"
;; It isn't case sensitive (element-name (symbol-element "kR")) => "Krypton"
;; Find the element with the electronegativity closest to 4.0 (electronegativity-element 4.0) => #S(ELEMENT :NAME "Fluorine" :ATOMIC-WEIGHT 18.9984 :ATOMIC-NUMBER 9 :OXIDATION-STATES "-1" :BOILING-POINT 85.0 :SYMBOL "F" :ELECTRONEGATIVITY 3.98)
;; Get an element from its atomic number (element-symbol (get-element 12)) => "Mg"
;; Demonstrate another use of the powerful GET-ELEMENT function. ;; Boiling point is in Kelvins (element-boiling-point (get-element 'nitrogen)) => 77.344
It is released under the LLGPL.
Download ASDF package from http://common-lisp.net/project/chemboy/periodic-table-latest.tar.gz
Page in this topic: chemical-compounds
Also linked from: Peter Scott
CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively