Skip to content

Support lex-style definitions #417

Open
@FranklinChen

Description

@FranklinChen

I didn't see a way to do the following that can be done in lex:

DIGIT    [0-9]
ID       [a-z][a-z0-9]*
NUMBER {DIGIT}+"."{DIGIT}*

%%

{NUMBER} ...

so that patterns can be composed in definitions and definitions can be used in rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions