Skip to content

Comments

Ferret supports single-line and block comments.

// Parse command-line args first.
let mode = "run"
/*
Current limitation:
- only llvm backend is enabled in CLI commands
*/
fn main() {}

Use comments to explain intent or constraints, not obvious line-by-line behavior.