Module citadel_frontend::ir

source ·
Expand description

The AST (Abstract Syntax Tree) module for the Intermediary Representation (IR) This has the nodes (statements, expressions) for generating an IR

It is recommended to use the IR-Generator module for generating the IR but you can of course also generate the ir yourself

Modules§

  • The Generator for converting source code to an IR AST This will generate the ir and push it to a stream that the represents the AST. You can implement this yourself if you don’t want to use the provided generator or need specific capabilities
  • This file contains the Display trait implementations for the IR structs.

Structs§

Enums§