العربية

From Esolang
Jump to navigation Jump to search

العربية is a language based on Arabics.

Syntax

Caption text
العربية Pseudo code
طبع (comment) print(comment)
المدخلات (something) مع (prompt) input(something, __prompt)
كرر 10 مرات for(i in range(10))
كرر حتى expr غير صحيح while(expr)
لو (expr) if(expr)
اخر else
اخر لو (expr) elif(expr)
تعريف A ك 10 def a=10
تعريف B (type) صحيح def b -> type
اضبط C على "مرحبا" c="Hello"
تعريف fun(الحجج) fun start(args)
و &&
أو ||
لا !
صحيحا int
عشريتان float
حرف char
خيط str
منطقيه bool
خلاء void
الحقيقي true
خطأ bool
etc. etc.

Programs

Look at the left of the page!

Hello, world

طبع "مرحبا أيها العالم!"

A+B

تعريف ا,ب,ج صحيح صحيح
المدخلات ا,ب
اضبط ج على ا+ب
طبع ج

See also

قلب