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.
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.