Module bitsy_lang::ast
source · Expand description
ast is the submodule for the AST parser.
Structs
- A user-defined
alttype. - A user-defined
enumtype. - A user-defined function.
- An identifier in the grammar.
- A
MatchArmis a case for a match expression. - A
Packageis a compilation unit built from a single file. - A user-defined
structtype. - A testbench
- A
Whenstatement drives procedural logic. Wires drive the value of port, node, or register.- A
WordLitis a literal for a hardware integer with an optional width ascription.
Enums
- An expression.
- A top-level declaration in a
Package. - A reference to a hardware component, either in this module, or in a child module.
- A statement which appears in a testbench
- A type classifier for values.
- The different kinds of
Wires in Bitsy.