Skip to content

Keyword checking should forbid C reserved keywords #43

@Alex23087

Description

@Alex23087

Since Perk compiles to C, C keywords should not be usable as identifiers.
Example:

let union := ...

While union is not (currently) a keyword in Perk, it is a keyword in C. The current behaviour is that perkc silently generates invalid C code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions