Here’s another tough call: the preprocessor will not implement #if, #elif, function-like macros, stringification, or token pasting.
These features require a substantially more complex preprocessing engine and introduce a large amount of extra parsing, expansion, and compatibility logic. A simpler preprocessor is sufficient for the compiler’s target environment and use cases.
If anyone wants to push more pre-processor features into the compiler I will definitely consider adding it!
Here’s another tough call: the preprocessor will not implement #if, #elif, function-like macros, stringification, or token pasting.
These features require a substantially more complex preprocessing engine and introduce a large amount of extra parsing, expansion, and compatibility logic. A simpler preprocessor is sufficient for the compiler’s target environment and use cases.
If anyone wants to push more pre-processor features into the compiler I will definitely consider adding it!