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
|
|
@ -13,6 +13,6 @@ The bitwise operators work on the bits of an `int`: `&` (and), `|` (or), `^` (xo
|
|||
```ludic
|
||||
const FLAG_POISONED: int = 1
|
||||
const FLAG_SHIELDED: int = 2
|
||||
var status_flags: int = FLAG_POISONED | FLAG_SHIELDED
|
||||
var is_shielded: bool = status_flags & FLAG_SHIELDED != 0
|
||||
let status_flags: int = FLAG_POISONED | FLAG_SHIELDED
|
||||
let is_shielded: bool = status_flags & FLAG_SHIELDED != 0
|
||||
```
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ A comment begins with `#` and runs to the end of the line; the compiler ignores
|
|||
|
||||
```ludic
|
||||
const TILE_SIZE: int = 16 # pixels per grid cell
|
||||
var score: int = 0 # reset in the Start phase
|
||||
let score: int = 0 # reset in the Start phase
|
||||
# the head is drawn brighter than the body
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue