Ahadu 2.0
አማርኛ

Example programs

Whole programs you can run

These are the repository's own example files — the same ones the conformance suite runs. All of them can be edited and run here.

ሰላም

Open in playground This output was verified at build time
ሰላም ዓለም!

ዑደት

Open in playground This output was verified at build time
1
2
3
4
5

ቤተሰብ

Open in playground This output was verified at build time
ልጅ፡ አበበ
ልጅ፡ ትዕግስት
እናት፡ አልማዝ
አባት፡ ከበደ
ልጅ፡ ሰናይት

ተግባሮች

Open in playground This output was verified at build time
ትልቁ፦ 12
ፊቦናቺ(10)፦ 55

ክላስ

Open in playground This output was verified at build time
አበበ የሁለተኛ ደረጃ ተማሪ ነው።
የምረቃ አመት፦ 2028

ውርስ

Open in playground This output was verified at build time
ጆሮ ይላል፦ ውው!
ሚሚ ይላል፦ ሚያው!

ጽሁፍ እና ስብስብ

Open in playground This output was verified at build time
ርዝመት፦ 7
መጀመሪያ፦ ተ
መጨረሻ፦ ም
ቁራጭ፦ ተስፋማ
አዲስ፦ ሀስፋማርያም
ተቀይሮ፦ [9፣ 2፣ 3]
ተጨምሮ፦ [9፣ 2፣ 3፣ 4]
ተሰርዞ፦ [9፣ 3፣ 4]
ተቀናጅቶ፦ [9፣ 3፣ 4፣ 100]
ዋናው፦ [9፣ 3፣ 4]
በለ ተቀይሮ፦ [0፣ 3፣ 4]
ቅጂ፦ [7፣ 3፣ 4]
ዋናው፦ [0፣ 3፣ 4]
አይነት፦ ስብስብ

ግቤት

Open in playground This output was verified at build time
ሰላም! ስምህ ማን ነው?
ስም፦ እንደምን አለህ ዓለም!
የስምህ ርዝመት፦ 3