Expand description
Fortran source code parsing utilities.
This module provides the infrastructure for reading and tokenizing Fortran source:
CharFilter: Iterator adapter that identifies strings, comments, and code regionsInputStream: Joins continuation lines (&) and splits semicolon-separated statementspatterns: Precompiled regex patterns for Fortran syntax elements
The parser handles Fortran’s line-continuation semantics, string literals (both single and double quoted), and inline comments while preserving the original structure for accurate reformatting.
Re-exports§
pub use char_filter::CharFilter;pub use char_filter::StringDelimiter;pub use stream::FortranLine;pub use stream::InputStream;