Skip to content

More pre-processor features (if, elif, functions, stringification, token pasting) #58

@ZaneDubya

Description

@ZaneDubya

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions