internal/

directory
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: GPL-3.0

Directories

Path Synopsis
Package cli wires up the tdl command-line interface.
Package cli wires up the tdl command-line interface.
Package config reads tdl.toml, the project manifest.
Package config reads tdl.toml, the project manifest.
Package ebnf lints the grammar files under docs/, which are Wirth syntax notation as read by golang.org/x/exp/ebnf.
Package ebnf lints the grammar files under docs/, which are Wirth syntax notation as read by golang.org/x/exp/ebnf.
gen
Package gen is the compiler side of the plugin protocol: which backends exist, how a request is built, and what happens to the files that come back.
Package gen is the compiler side of the plugin protocol: which backends exist, how a request is built, and what happens to the files that come back.
echo
Package echo is a test backend that writes the model it is given as JSON and imports that JSON back, so the import protocol is exercised before any real reverse backend exists.
Package echo is a test backend that writes the model it is given as JSON and imports that JSON back, so the import protocol is exercised before any real reverse backend exists.
echo/tdl-gen-echo command
Command tdl-gen-echo is the echo test backend as a plugin.
Command tdl-gen-echo is the echo test backend as a plugin.
Package lsp serves the Language Server Protocol for TDL: diagnostics, go to definition, hover, document symbols, and formatting.
Package lsp serves the Language Server Protocol for TDL: diagnostics, go to definition, hover, document symbols, and formatting.
Package sema lowers a parse tree to the resolved semantic model in the ir package: it resolves names, lowers sugar to prelude types, and interns type references.
Package sema lowers a parse tree to the resolved semantic model in the ir package: it resolves names, lowers sugar to prelude types, and interns type references.
Package textmate turns the annotated grammar into a TextMate grammar for VS Code.
Package textmate turns the annotated grammar into a TextMate grammar for VS Code.
Package treesitter turns the grammar internal/ebnf read into a tree-sitter grammar.js.
Package treesitter turns the grammar internal/ebnf read into a tree-sitter grammar.js.
Package unlower turns a resolved model back into a parse tree, the reverse of internal/sema.
Package unlower turns a resolved model back into a parse tree, the reverse of internal/sema.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL