Skip to content

Add fallback semantic highlighting #55

@deemp

Description

@deemp

vscode-rzk supports semantic highlighting via LSP. However, happy seems to fail on incorrect output.

On the other hand, lezer has error-recovery mechanism that lets it parse incorrect input, at least partially. This allows CodeMirror highlight partially incorrect code.

The parser package is here. The parser file will be generated upon installing the package.

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