Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &charm.Spec{ Name: "compile", Usage: "compile [ options ] zed", Short: "inspect Zed language abstract syntax trees and compiler stages", Long: ` The "zed dev compile" command parses a Zed expression and prints the resulting abstract syntax tree as JSON object to standard output. If you have installed the shortcuts, "zc" is a short cut for the "zed dev compile" command. "zed dev compile" is a tool for dev and test, and is also useful to advanced users for understanding how Zed syntax is translated into an analytics requests sent to the "zed server" search endpoint. By default, it runs the built-in PEG parser built into this go binary. If you specify -js, it will try to run a javascript version of the parser by execing node in the currrent directory running the javascript in ./compiler/parser/run.js. The -O flag is handy for turning on and off the compiler, which lets you see how the parsed AST is transformed into a runtime object comprised of the Zed kernel operators. `, New: New, }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.