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
|
|
@ -18,11 +18,13 @@ Parameters:
|
|||
|
||||
```ludic
|
||||
program StatusLine {
|
||||
var elapsed_frames: int = 0
|
||||
state StatusLineState {
|
||||
elapsed_frames: int = 0
|
||||
}
|
||||
|
||||
handler UpdateStatus phase Update {
|
||||
elapsed_frames = elapsed_frames + 1
|
||||
Screen.status(text: `frame {elapsed_frames}`)
|
||||
handler UpdateStatus(status_line_st: mut StatusLineState) phase Update {
|
||||
status_line_st.elapsed_frames = status_line_st.elapsed_frames + 1
|
||||
Screen.status(text: `frame {status_line_st.elapsed_frames}`)
|
||||
}
|
||||
|
||||
handler DrawWorld phase Render {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue