This folder contains a VS Code extension for Pyternary syntax highlighting.
What it includes
pyternarylanguage registration- file associations for
.pyternaryand.ternary - TextMate grammar (
syntaxes/pyternary.tmLanguage.json) - language configuration for editor behavior
- extension debug support in
.vscode
Use it locally
- Open
pyternary-extensionin VS Code. - Press
F5to launch the Extension Development Host. - Open a
.pyternaryor.ternaryfile.
File associations
The extension declares automatic associations so files ending in .pyternary and .ternary use the pyternary language.
Comments
Pyternary supports line comments beginning with :. # and % are different variable markers, those being the Function Setter and Unknown Variable Selecters respectively.