BlockIt provides a Python framework to scan and parse a program file into constituent nested blocks, however defined, forming a block tree of your code and can be used as a mechanism to "extend" in some sense, the underlying programming language.
Chasm-interop is a set of tools that parses C++ and Fortran 90 source files and automatically generates bridging code to provide for seamless language interoperability.
Code to process human readable input is often highly stylized and repetitive.
This project extracts the common elements found in such code and makes
them available in a concise form as C tables and subroutines.