User Guide¶
Use the section for your native language, then continue with the shared build workflow that matches how you run PRIK.
Fortran¶
- Data Types — Fortran types and exact NumPy dtypes
- Arrays — rank, shape, layout, strides, and mutation
- Strings — scalar text, mutable storage, and string arrays
- Functions and Subroutines
- Modules, Optional Arguments, and Generic Interfaces
- Derived Types
- Allocatables, Pointers, and Memory Management
- Callbacks, Enumerations, Raw Addresses, and Error Handling
C¶
- Overview — choose the source-driven or authored-contract path
- Functions and Scalars — build a function and shape its Python call surface
- Pointers, Arrays, and Strings — assign precise Python meanings to pointer parameters
- Outputs and Errors — return output storage and project native failures
- Symbols, Headers, and Dependencies — overloads, headers, libraries, and API inspection
Build Workflows¶
- Building the Shared Library — compilers, source sets, output placement, Makefiles, and CMake
- CMake Builds — integrate PRIK into an existing CMake project or generate a standalone one
- IPython and Jupyter Notebooks — compile Fortran and C cells and edit semantic contracts interactively
The .pyi Format defines the shared semantic
contract language. Use the language feature
matrix to check current
Fortran and C coverage.