PBXB64 V23 language reference
Logo supported commands and scope
Standalone Logo uses Binary64 numbers, words, numeric/word/mixed lists, inferred procedures/control flow, console output and headless bitmap turtle operations. READLIST, MAP, analytic CSQRT$/CSIN$, exact GCD$ and several mixed-list/selector forms are explicit non-goals; all new controls remain unrun.
Status: experimental. Source basis: PBXB64/docs/LOGO_SCOPE.md and PBXB64/src/frontends/logo plus the published Logo learning page.
Back to language detailPBXB64 overviewDeutschProcedures / Prozeduren
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| TO ... END | TO name :args ... END | Defines a Logo procedure. | Nested/duplicate/missing END forms are rejected. |
| OUTPUT STOP | OUTPUT expr | Returns from a procedure or stops it. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| MAKE LOCAL | MAKE "name value | Binds word/number variables and local scope. | Unbound reads diagnose. |
Control flow / Kontrollfluss
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| IF IFELSE | IF cond [ ... ] | Conditional execution. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| REPEAT | REPEAT n [ ... ] | Counted repetition. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| FOREACH | FOREACH :list [ ... ] | Iteration over list/word values. | List kind and selector constraints apply. |
Words and lists / Wörter und Listen
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| WORD LIST FPUT LPUT | WORD a b; LIST a b | Constructs words/lists and adds elements. | Mixed-list element constraints are documented and enforced in rejects. |
| FIRST LAST BUTFIRST BUTLAST ITEM COUNT | FIRST value | Selects/counts word or list elements. | ITEM index and COUNT operand kinds are constrained. |
| EQUALP MEMBERP EMPTY? | EQUALP a b | Comparisons and membership/empty predicates. | Word/number comparisons follow the declared contract. |
Turtle / Turtle
| Name | Syntax / form | Scope | Boundary |
|---|---|---|---|
| FORWARD BACK RIGHT LEFT | FORWARD n | Headless bitmap turtle movement. | Bitmap/headless host limits apply. |
| SETPOS SETHEADING HOME | SETPOS [x y] | Position and heading operations. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
| PENUP PENDOWN SETPC SETPENSIZE LABEL | PENDOWN | Pen and bitmap drawing state. | Source-/syntax-backed subset; no whole-language or aggregate qualification claim. |
PBXB64 is part of the PBX-Compiler package. Free for private use, cleanly licensed for business.