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

@ -20,13 +20,15 @@ Parameters:
```ludic
program RemoveFast {
var actors: []int = new []int
state RemoveFastState {
actors: []int = new []int
}
handler Kill phase Update {
handler Kill(remove_fast_st: RemoveFastState) phase Update {
let dead = 2
let last = List.len(actors) - 1
List.swap(actors, dead, last) # move it to the end...
let removed = List.pop(actors) # ...then drop it
let last = List.len(remove_fast_st.actors) - 1
List.swap(remove_fast_st.actors, dead, last) # move it to the end...
let removed = List.pop(remove_fast_st.actors) # ...then drop it
}
}
```