docs(0.S): the doc fences migrated by ludic migrate state; LANGUAGE.md's state section says what the tool and the checker do now; no module-level var left in the docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-25 15:37:29 +03:00
parent 19fcf60599
commit a476ec7976
79 changed files with 481 additions and 355 deletions

View file

@ -14,11 +14,13 @@ A <code>become</code> statement performs a transition. Inside a <code>machine</c
```ludic
program EncounterFlow {
enum Stage { Explore, Battle, Victory }
var stage: int = Stage.Explore
var enemies_left: int = 2
state EncounterFlowState {
stage: int = Stage.Explore
}
let enemies_left: int = 2
handler RunStage phase Update {
machine stage {
handler RunStage(encounter_flow_st: mut EncounterFlowState) phase Update {
machine encounter_flow_st.stage {
state Explore {
if Input.key() == ' ' { become Battle }
}