Skip to content

Commit

Permalink
book(architecture): describe the relation between the frontend & engi…
Browse files Browse the repository at this point in the history
…ne in the intro
  • Loading branch information
W95Psp committed Nov 28, 2024
1 parent fd4aefa commit afff4b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/src/contributing/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Hax is a software pipeline designed to transform Rust code into various formal v
1. **The Frontend** (written in Rust)
2. **The Engine** (written in OCaml)

The frontend hooks into the Rust compiler, producing a abstract syntax tree for a given crate. The engine then takes this AST in input, applies various transformation, to reach in the end the language of the backend: F*, Coq...

## The Frontend (Rust)

The frontend is responsible for extracting and exporting Rust code's abstract syntax trees (ASTs) in a format suitable for processing by the engine (or by other tools).
Expand Down

0 comments on commit afff4b3

Please sign in to comment.