github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/sql/opt/optgen/lang/support/vscode/cockroachdb.optgen-1.0.0/README.md (about)

     1  # optgen README
     2  
     3  The Optgen language support extension makes it easier to author optimizer
     4  generator (optgen) files. Optgen is a tool that generates Go code for a
     5  memoizing cost-based optimizer. Optgen files contain a domain-specific language
     6  that defines expression tree nodes, as well as a tree pattern matching and
     7  replacement language. Operator definitions are used by optgen to generate
     8  expression tree constants, structs, and methods. Optgen rules match parts of
     9  the expression tree and can then rewrite that section of the tree in a
    10  logically equivalent way.
    11  
    12  ## Features
    13  
    14  The Optgen language support extension currently provides VS Code colorization
    15  support for Optgen definitions and rules. The colorization uses a TextMate
    16  Language Grammar, and so can be used in TextMate, IntelliJ, or any other editor
    17  that supports it.
    18  
    19  ## Known Issues
    20  
    21  None.
    22  
    23  ## Release Notes
    24  
    25  ### 1.0.0
    26  Initial release of Optgen.