Source: https://mayphus.org/chemistry/ Title: Chemistry Metadata: {"kind":"artifact","language":"en","route":"/chemistry/","tags":["chemistry"],"type":"page"} Chemistry This Racket experiment parses chemical formulas into element counts and uses a built-in atomic-weight table to calculate molar mass. The archive includes command-line and web interfaces around that model. The original implementation and its seven tests were recovered and checked on 7 October 2026. All seven passed. The examples exercise ordinary formulas, grouped formulas, and a hydrate: - H2O produces H: 2 and O: 1. - Ca(OH)2 produces Ca: 1, O: 2 and H: 2. - Al2(SO4)3 produces Al: 2, S: 3 and O: 12. - CuSO4.5H2O produces Cu: 1, S: 1, O: 9 and H: 10. The remaining assertions check the implementation's mass calculations for water and calcium hydroxide and rejection of the input “Water”. These are bounded parser tests, not validation of every possible chemical notation. The archived web interface was not deployed or tested as a live service in this recovery.