-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Codata is a simple Fortran library which provides all the codata constants.
Currently, the ascii table from NIST is parsed and the all the sources are automatically generated i.e. Fortran, C API and Python wrapper. The parser is written in C and is pretty simple. It might have been easier to write it in Python but it is a personal preference for C and I did not want a dependency on Python for the building process.
The Makefile automates the building process of the parser, the parsing and generation of the sources and finally the compilation of the sources into static and shared libraries. The building process only supports the gfortran compiler on Linux, MacOS(brew) and windows (MSYS2). The fortran code follows strictly the 2008 standard and the compilation with other compilers should work if they support the 2008 standard.