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 SafetyTOption<T> prevents null-reference Access Violations
  • Railway ResultsTResultPair<S,F> replaces untracked exceptions
  • Pattern MatchingTMatch<T> replaces nested if-else / case blocks
  • AsyncTAsync / Async() with Await and NoAwait
  • Tuples & CurryingTTuple, TTuple<K>, TCurrying
  • Safe TryTSafeTry / Try() functional exception wrapper

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