Language support for SFX (Situation Framework eXchange) - a beginner-friendly programming language with mathematical honesty, 1-based indexing, and reactive programming.
Features
Syntax Highlighting: Full syntax highlighting for SFX files (.sfex)
Bracket Matching: Auto-closing brackets, quotes, and braces
Indentation: Smart indentation support
Comments: Line and block comment toggling
Installation
From VSIX
Download the latest .vsix file from releases
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Click the ... menu → Install from VSIX
Select the downloaded file
From Marketplace (Coming Soon)
Search for "SFX Language Support" in the VS Code Extensions marketplace.
No null pointers: Safe defaults (0, "", False, [])
Narrative syntax: Name is "John" instead of name = "John"
Context-oriented: Situations modify object behavior at runtime
Reactive programming: Self-healing data with automatic property observers
Example Code
Concept: Product
Price
Tax
Total
When Price changes:
Set This.Tax to This.Price * 0.1
Set This.Total to This.Price + This.Tax
Story:
Create Product Called Phone
Set Phone.Price to 100
Print Phone.Total # Automatically 110!