|
|
|
|
|
by Maxatar
143 days ago
|
|
I interpreted OP's post to say that you take a C file after the preprocessor has translated it. How you perform that preprocessing can simply be by passing the file to an existing C preprocessor, or you can implement it as well. Implementing a C preprocessor is tedious work, but it's nothing remotely complex in terms of challenging data structures, algorithms, or requiring sophisticated architecture. It's basically just ensuring your preprocessor implements all of the rules, each of which is pretty simple. |
|
It’s a cute learning project for a student of computer science for sure. It’s not remotely a useful software engineering tool.