genmonarch

command
v3.24.89 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Command genmonarch generates the Monaco language definitions for the expression languages gomplate evaluates.

Everything it writes is derived: the lexical rules come from cel-go's own ANTLR grammar and from text/template's lexer, and the function catalogue is read out of a live cel.Env and the FuncMap gomplate installs. Nothing here is a list maintained by hand alongside the code it describes.

go run ./cmd/genmonarch -out web/packages/lang/src/generated
go run ./cmd/genmonarch -out web/packages/lang/src/generated -check

Jump to

Keyboard shortcuts

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