Crate citadel_frontend

source ·
Expand description

§Citadel - frontend

The frontend crate of the citadel project

For information on what exactly citadel is you should visit our github-repository

This crate mainly provides an api for generating an Intermediary Representation
in the form of an Abstract Syntax tree. Generating this tree is most easily achievable
through [crate::ir_gen]. This provides a simple struct for generating the IR.
However, since the IRGenerator is just a vector under the hood you can also easily implement your own.
For help we recommend looking at our own implementation: [crate::ir_gen]

Modules§

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