Ahadu 2.0
አማርኛ

Language reference

Keywords and error codes

This page is read out of the interpreter. The tables below are not written by hand — they are generated from the source at build time, so they change when the language does and cannot describe a language that no longer exists.

Keywords

KeywordMeaning
ከሆነ ከሖነ ከኆነif
ግንelse-if lead-in
አለበለዚያ ኣለበለዚያ ዓለበለዚያ ዐለበለዚያotherwise
እስከሆነ እስከሖነ እስከኆነ ዕስከሆነ ዕስከሖነ ዕስከኆነrepeat while
ተመላሽreturn a value
ተግባርdefine a function
ክላስdefine a class
ፍጠርa class's set-up method
እና ዕናand
ወይምor
ተቃርኖnot
እውነት ዕውነትtrue
ሃሰት ሀሰት ኅሰት ኃሰት ሓሰት ሐሰት ሃሠት ሀሠት ኅሠት ኃሠት ሓሠት ሐሠትfalse
ምንምnothing
ቁጥርthe number type
እውነታthe truth type
ጽሁፍ ፅሁፍthe text type
ስብስብthe collection type
አዲስreserved for a future version
ለእያንዳንዱreserved for a future version
አቁምreserved for a future version
ቀጥልreserved for a future version
ፊደልreserved for a future version

Error codes

Lexical errors

Found while splitting the text into tokens, before anything runs.

CodeMessage
AH1001የማይታወቅ ካራክተር አለ።
AH1002የመስመር መጀመሪያ ክፍተት ስተት፡
AH1003ያልተሟላ ፅሑፍ
AH1004"ድረስ" ይጠበቃል።
AH1005የግዕዝ ቁጥር አጻጻፍ ስተት።

Syntax errors

Found while reading the structure of the program, also before it runs.

CodeMessage
AH2001የተሰበረ ህግ አለ።
AH2002የመዝጊያ ቅንፍ ረስተዋል።
AH2003"ግን" ሁኔታና "ከሆነ" ያስፈልገዋል።
AH2004ከዚህ በፊት "ከሆነ" የለም።
AH2005"ተመላሽ" በተግባር ውስጥ ብቻ ይሰራል።
AH2006ብሎኩ ባዶ ነው።
AH2007መጀመሪያ ዋጋ ያስፈልጋል።
AH2008ሁለት ማወዳደሪያዎችን በአንድ ላይ ማስቀመጥ አይቻልም።
AH2009ቁራጭ መቀየር አይቻልም።
AH2010ለወደፊት የተያዘ ቃል ነው።
AH2011ለዚህ ነገር ዋጋ መስጠት አይቻልም።
AH2012የተደገመ የግቤት ስም አለ።
AH2013በክላስ ውስጥ መሆን የማይገባው ነገር አለ።
AH2014"ፍጠር" ዋጋ አይመልስም።
AH2015ከሚያስፈልገው በላይ ክፍተት አለ።

Runtime errors

Raised while the program runs. Evaluation stops at the first one.

CodeMessage
AH3001ያልታወቀ ተለዋጭ
AH3002ሕጋዊ ያለሆነ ተግባር
AH3003በዘሮ ማካፈል አይቻልም።
AH3004ይህ ፓወር አይሰራም።
AH3005ሁኔታው እውነት ወይም ሃሰት መሆን አለበት።
AH3006ቁጥሩ ከመጠን አለፈ።
AH3007የቦታ ቁጥር ሙሉ ቁጥር መሆን አለበት።
AH3008ከስብስቡ ውጪ ያለ ቦታ
AH3009የተለዋጩ አይነት አይመጣጠንም።
AH3010የገቡት ግቤቶች ቁጥር አይመጣጠንም።
AH3011ያልታወቀ የወላጅ ክላስ
AH3012ያልተገለጸ ባህሪ
AH3013ይህ ሊጠራ አይችልም።
AH3014ይህ ባህሪ የለውም።
AH3015ጽሁፍን በቦታው መቀየር አይቻልም።
AH3017የጥሪ ጥልቀት ከመጠን አለፈ።
AH3018ፕሮግራሙ ከመጠን በላይ ረዘመ።