nyelvt
Nyelvt is a fictional programming language used in computer science education to illustrate core ideas in language design, semantics, and parsing. The term appears in several textbooks and teaching resources as a concrete example rather than a production language. Because nyelvt is a didactic construct, details may vary between implementations, but the core concepts remain consistent.
Design goals for nyelvt emphasize clarity and simplicity to help students reason about program structure, type
Core features of nyelvt include a statically typed, approachable syntax, with support for variables, functions, and
Semantics in nyelvt are described by a compact formal specification and typically realized through straightforward operational
Implementation and use of nyelvt include several reference implementations for teaching, such as interpreters and compilers
Example: factorial(n) = if n <= 1 then 1 else n factorial(n-1)