AhaduCode — Ahadu (አሃዱ) for VS Code
Support for Ahadu, a programming language written in
Amharic, in Visual Studio Code.
- Colouring for keywords in every spelling the language accepts, strings,
numbers (Ge'ez numerals too), comments, and the marks
፦ ። ፣.
- Editing:
# comments with the comment shortcut, bracket matching and
closing, a new line indented after a line ending in ፦, ግን and
አለበለዚያ stepping back to their ከሆነ, and a double-click that selects a
whole Ge'ez word.
- Run: ▶ in the editor's title bar, or Ctrl+Enter (Cmd+Enter on a Mac),
runs the file in a terminal, where a program that asks with
አንብብ can be
answered. Ahadu: Open REPL starts the interactive prompt.
Nothing else to install
The Ahadu interpreter is built into the extension, and it runs on VS Code's
own engine — you do not need Node.js, npm, or anything else. Install the
extension, open a .ahadu file, press ▶. Everything works offline.
If you have installed the ahadu command separately
(npm install -g @halemneh/ahadu) and want the extension to use that one
instead, set Ahadu: Cli Path in Settings to ahadu.
Typing Ge'ez
You need an Amharic keyboard layout — Windows, macOS and Linux all include
one — and a font with Ethiopic in it: Nyala or Ebrima on Windows, Kefa on
macOS, or the free Noto Sans Ethiopic. In VS Code, editor.fontFamily can
name it, e.g. "Menlo, 'Noto Sans Ethiopic'".
Learn the language
Lessons in Amharic and English, a reference, and a playground that runs in
the browser: ahaducode.com.
Licensed under MIT. Source: https://github.com/halemneh/ahadu-2/tree/main/editors/vscode.