Vollständige Referenz der Lyx-Programmiersprache: Syntax, Typsystem, Kontrollstrukturen, Speichermodell und fortgeschrittene Konzepte.
→ Übersicht · Erste Schritte · Standard Library
| Seite | Inhalt |
|---|---|
| Syntax | Grundstruktur eines Lyx-Programms, Kommentare, Bezeichner |
| Datentypen | int64, float64, bool, pchar, Typumfang |
| Funktionen | fn, Rückgabewerte, Parameter, pub/priv |
| Bedingungen | if, else, Vergleichsoperatoren |
| Schleifen | while, break, continue |
| Arrays & Maps | Felder, Vektoren, Maps, Iteration |
| Enums | Enum-Syntax, match, Bit-Flags |
| Seite | Inhalt |
|---|---|
| Typaliase & Typumwandlung | type-Aliase, Range-Typen, as, is |
| Generics & Traits | Generische Typen, Trait-Bounds |
| Pattern Matching | match-Ausdrücke, Destrukturierung |
| Rekursion | Rekursive Funktionen, Tail-Call |
| Seite | Inhalt |
|---|---|
| Module & Importe | unit, import, pub-Sichtbarkeit |
| OOP | Structs, Methoden, Vererbung |
| Fehlerbehandlung | Result, Option, panic |
| Seite | Inhalt |
|---|---|
| Memory Management | Stack, Heap, new/dispose, DO-178C |
| Rohspeicher | alloc/free, peek8/poke8, Struct-als-Offset |
| Handles & FD | Kernel-fd vs. Userspace-Handle, Ownership |
| Fehlerkonventionen | <0, ==0, zweistufig (PG), Fehlercodes |
| Threads & Nebenläufigkeit | POSIX-Threads, Mutex, Atomics |
| Seite | Inhalt |
|---|---|
| Pointer Inlining | Inline-Zeiger, Performance-Optimierungen |
| Attributes & Pragmas | @flight_crit, @dal, @stack_limit |
| FFI | C-Interop, extern-Deklarationen |
| ABI & Calling Conventions | Lyx ABI, Parameterübergabe, Stack-Layout |
Letzte Aktualisierung: 2026-06-08