JeffersonQin / ti-chem-calc

🧮 Molecular mass calculating program for TI calculators.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS IS ONLY A HOBBY PROJECT. I CANNOT GUARANTEE THE EFFECTIVENESS OF CODE.

Introduction

This Lua script can calculate the molecular mass by just typing in chemical formula. Here are some examples:

  • CuSO4·5H2O ==> CuSO4(H2O)5
  • Fe2(SO4)3 ==> Fe2(SO4)3
  • KAl(SO4)2·12H2O ==> KAl(SO4)2(H2O)12

For more information, please visit my blog:

Installation

You can either use the file in release section, or just add a script manully, using the code on github.

Known Issues

As I have not learnt the compiler so far, the code might be nasty. Anyway, it works.

Also, this script supports at most three levels of brackets.

About

🧮 Molecular mass calculating program for TI calculators.


Languages

Language:Lua 100.0%