Module bitsy_lang::ast
source · Expand description
ast
is the submodule for the AST parser.
Structs
- A user-defined
alt
type. - A user-defined
enum
type. - A user-defined function.
- An identifier in the grammar.
- A
MatchArm
is a case for a match expression. - A
Package
is a compilation unit built from a single file. - A user-defined
struct
type. - A testbench
- A
When
statement drives procedural logic. Wire
s drive the value of port, node, or register.- A
WordLit
is 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
Wire
s in Bitsy.