---
title: Castagne Compiler
order: 300
todo: 70
---

TODO: This page will be completed once the compiler is rewritten in v0.7.

optimizations:

- `Call` functions are inlined whenever possible.
- Scripts are precomputed for each phase and each state.
- Defines are hardcoded into the functions and not stored.
