Skip to main content

Documentation portal

Welcome to the ModernSyntax technical documentation portal. Content is derived from source code, tests, and examples.

Projects​

ModernSyntax

Functional programming toolkit and modern syntax extension for Delphi. Brings null safety (TOption<T>), railway-oriented error handling (TResultPair<S,F>), expressive pattern matching (TMatch<T>), async scheduling (TAsync), tuples, and currying to Delphi XE and later.

Documented release​

This portal matches the published source on github.com/ModernDelphiWorks/ModernSyntax.

  • Null Safety — TOption<T> prevents null-reference Access Violations
  • Railway Results — TResultPair<S,F> replaces untracked exceptions
  • Pattern Matching — TMatch<T> replaces nested if-else / case blocks
  • Async — TAsync / Async() with Await and NoAwait
  • Tuples & Currying — TTuple, TTuple<K>, TCurrying
  • Safe Try — TSafeTry / Try() functional exception wrapper

Cross-platform verified: Win32, Win64, Linux64 (dcclinux64).