Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abheekda1/chemparse
A library to parse chemical formula strings into compounds and elements
https://github.com/abheekda1/chemparse
chemistry parser
Last synced: 6 days ago
JSON representation
A library to parse chemical formula strings into compounds and elements
- Host: GitHub
- URL: https://github.com/abheekda1/chemparse
- Owner: abheekda1
- License: mit
- Created: 2022-02-18T06:38:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-02T16:11:57.000Z (over 2 years ago)
- Last Synced: 2023-03-10T21:22:54.704Z (over 1 year ago)
- Topics: chemistry, parser
- Language: C++
- Homepage:
- Size: 4.24 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chemparse: A chemical formula parsing library in C++
chemparse is a library to parse chemical formula strings into compounds and elements.# About
Makes doing my chem homework easier.# Building
This library is distributed as both a static and dynamic/shared library. It also has a simple looped CLI where formulas can be inputted and data regarding them can be printed. Since it can be compiled with CMake, the only commands that need to be run are:
```sh
cmake -B build
cmake --build build
```
Once that's done, the binary can be found in `build/bin` and the libraries can be found in `build/lib`.## Credits
JSON Data: https://github.com/Bowserinator/Periodic-Table-JSON
JSON Parser: https://github.com/nlohmann/json