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
| Keyword | Meaning |
|---|---|
ከሆነ ከሖነ ከኆነ | 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.
| Code | Message |
|---|---|
AH1001 | የማይታወቅ ካራክተር አለ። |
AH1002 | የመስመር መጀመሪያ ክፍተት ስተት፡ |
AH1003 | ያልተሟላ ፅሑፍ |
AH1004 | "ድረስ" ይጠበቃል። |
AH1005 | የግዕዝ ቁጥር አጻጻፍ ስተት። |
Syntax errors
Found while reading the structure of the program, also before it runs.
| Code | Message |
|---|---|
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.
| Code | Message |
|---|---|
AH3001 | ያልታወቀ ተለዋጭ |
AH3002 | ሕጋዊ ያለሆነ ተግባር |
AH3003 | በዘሮ ማካፈል አይቻልም። |
AH3004 | ይህ ፓወር አይሰራም። |
AH3005 | ሁኔታው እውነት ወይም ሃሰት መሆን አለበት። |
AH3006 | ቁጥሩ ከመጠን አለፈ። |
AH3007 | የቦታ ቁጥር ሙሉ ቁጥር መሆን አለበት። |
AH3008 | ከስብስቡ ውጪ ያለ ቦታ |
AH3009 | የተለዋጩ አይነት አይመጣጠንም። |
AH3010 | የገቡት ግቤቶች ቁጥር አይመጣጠንም። |
AH3011 | ያልታወቀ የወላጅ ክላስ |
AH3012 | ያልተገለጸ ባህሪ |
AH3013 | ይህ ሊጠራ አይችልም። |
AH3014 | ይህ ባህሪ የለውም። |
AH3015 | ጽሁፍን በቦታው መቀየር አይቻልም። |
AH3017 | የጥሪ ጥልቀት ከመጠን አለፈ። |
AH3018 | ፕሮግራሙ ከመጠን በላይ ረዘመ። |