Installation
Quick Install
powershell
irm https://sad-lang.org/install.ps1 | iexbash
curl -fsSL https://sad-lang.org/install.sh | bashbash
brew install sad-lang/tap/sadpowershell
scoop bucket add sad https://github.com/sad-lang/scoop-bucket
scoop install sadAfter installation, verify:
bash
sad --version
# sad version 1.0.0 (interpreter)
sadc --version
# sadc version 1.0.0 (compiler, LLVM 18)Manual Installation
Windows
- Download
sad-setup-1.0.0-windows-x64.exefrom the Download page - Run the installer as Administrator
- Follow the wizard —
sadandsadcare added to PATH automatically
Linux
bash
wget https://github.com/SalehKadah/s-programming-language/releases/download/v1.0.0/sad-1.0.0-x86_64.AppImage
chmod +x sad-1.0.0-x86_64.AppImage
./sad-1.0.0-x86_64.AppImage my-file.صmacOS
bash
open sad-lang-1.0.0-macos-universal.pkgVS Code Extension
bash
code --install-extension sad-language-2.0.0.vsixVerify Installation
bash
echo 'اطبع_سطر("Installation successful! 🎉")' > test.ص
sad test.ص
# Output: Installation successful! 🎉Next: Your First Program →