SFX (Situation Framework eXchange)
"Programming the way humans think, not the way computers think"
SFX is a beginner-friendly, context-oriented programming language designed for the 2025 AI era. With JIT compilation, reactive observers, and mathematical honesty, SFX makes programming intuitive and powerful.
Why SFX?
Fix 50 years of accumulated lies in programming:
The Lie The Truth (SFX) 0.1 + 0.2 ≠ 0.3 0.1 + 0.2 = 0.3 (arbitrary precision) List[0] is first List[1] is first (1-based indexing) Null pointer errors No null (safe defaults: 0, "", False, []) "👨👩👧👦".Length = 7 "👨👩👧👦".Length = 1 (grapheme clustering) Objects are static Context-oriented (Situations modify behavior) Manual cache updates Reactive observers (self-healing data)
Quick Start
Installation
# Clone the repository git clone https://github.com/roriau0422/sfex-lang.git cd sfex-lang # Build (Rust 1.75+ required) cargo build --release # Run a script ./target/release/sfex run tests/oop/context.sfex
Your First Program
... continue reading