Jul-04-2021, 08:53 PM
(This post was last modified: Jul-04-2021, 08:54 PM by Gribouillis.)
Skaperen Wrote:now if i could find code in Python to do this for the C language.
There is a well known Python module named pycparser for parsing the C language. It seems that it contains internally a Python module for lexical analysis of C code, written usin the PLY lexer/parser. You could have a look in this direction.