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:
parent
19fcf60599
commit
a476ec7976
79 changed files with 481 additions and 355 deletions
|
|
@ -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() }
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue