Files
Michael Schimmel beb693a068 Refactor: Implement block scoping and statement separation
This commit introduces fundamental changes to Myc's language structure
to enhance type safety and scoping clarity.

Key changes include:
- Introducing local scopes for `do` blocks.
- Separating statements (`def`, `assign`) from expressions, where
  statements now have no return value and are only allowed within
  blocks.
- A block now consists of multiple statements followed by a single final
  expression.
- Stricter validation rules are enforced, such as disallowing
  redefinition of local symbols in the same scope while allowing
  shadowing of outer symbols.
- Compiler errors are generated for statements used in expression
  contexts.

The implementation involved modifications to the AST, parser, binder
(scope-stack), and various compiler passes, along with VM runtime
optimizations.
2026-03-09 16:38:44 +01:00
..
2026-03-06 11:35:18 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00
2026-02-20 10:09:22 +01:00