Skip to content

Lexer tables are big for any non trivial grammar #4

@mingodad

Description

@mingodad

It seems that the lexer generator doesn't do a great job in reducing/minimizing the generated tables and for any non trivial grammar the lexer tables are big like for sql the final parser is around 800KB without managing case insensitive tokens if we make it case insensitive by adding rules like <CREATE: <['C','c']['R','r']['E','e']['A','a']['T','t']['E','e']> > then it becomes even bigger fast.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions