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

@ -16,12 +16,14 @@ Parameters:
```ludic
program PrintScore {
var score: int = 0
state PrintScoreState {
score: int = 0
}
handler CountUp phase Update {
score = score + 10
print(score)
if score >= 30 { quit() }
handler CountUp(print_score_st: mut PrintScoreState) phase Update {
print_score_st.score = print_score_st.score + 10
print(print_score_st.score)
if print_score_st.score >= 30 { quit() }
}
}
```