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
|
|
@ -19,12 +19,14 @@ Parameters:
|
|||
|
||||
```ludic
|
||||
program Visited {
|
||||
var seen: []int = new []int
|
||||
state VisitedState {
|
||||
seen: []int = new []int
|
||||
}
|
||||
|
||||
handler Step phase Update {
|
||||
handler Step(visited_st: VisitedState) phase Update {
|
||||
let tile = 42
|
||||
if not List.contains(seen, tile) {
|
||||
List.push(seen, tile)
|
||||
if not List.contains(visited_st.seen, tile) {
|
||||
List.push(visited_st.seen, tile)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue