Localized Syntax
Featuring keywords rooted in the Samawa language, making logical flow feel closer to local heritage.
Localized Syntax
Featuring keywords rooted in the Samawa language, making logical flow feel closer to local heritage.
Lua Performance
Built on the Lua engine, ensuring ultra-fast execution and efficient memory usage.
Easy to Learn
Simple and direct. Perfect for beginners who want to learn programming with a cultural twist.
Full Compatibility
Seamlessly integrate with existing Lua modules, offering high flexibility for developers.
See how SamaLang blends traditional logic with modern performance.
# Sapaan tradisionaltulis("Salam Sarea!")ada aran = "SamaLang"ada visi = "Digitalizing Culture"
tulis(aran .. " v2.1")tulis("Visi: " .. visi)fungsi sapa(nama) semalik "Halo, " .. nama .. "!"jure_mo
tulis(sapa("Dunia"))ada umur = 20
lamen umur >= 18 tres tulis("Dewasa")jure_molamen_no tulis("Anak-anak")jure_mo# Hitung munduruntuk i = 5, 1, -1 boat tulis(i)jure_motulis("Lepas landas!")SamaLang uses Samawa keywords that transpile directly to Lua:
| SamaLang | Lua | Meaning |
|---|---|---|
ada |
local |
Declare variable |
fungsi |
function |
Define function |
lamen |
if |
Conditional |
tres |
then |
Start block |
jure_mo |
end |
End block |
selama |
while |
While loop |
untuk |
for |
For loop |
tulis |
print |
Print output |
semalik |
return |
Return value |
nda_isi |
nil |
Null value |
Created by Rizqy Fajrul Syabani (@Rzfan03) — Samawa Language Project