Skip to content

Support syntax highlighting for .gpt files #8

Open
@njhale

Description

@njhale

Description

Provide syntax highlighting for .gpt files in at least one editor.

Motivation

Humans like colorful text.

Possible Solutions

It looks like a few popular editors like GoLand and VSCode support TextMate Grammar based syntax highlighting, so if it's possible to produce one that approximates .gpt file sytax => QED.

Bonus points for getting gptscript to generate the grammar by analyzing examples and introspecting its own source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationproposalAn enhancement or documentation proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions