Fourteen Irish keywords
Familiar Python control flow, written as Gaeilge: scríobh, má, eile, fad, feidhm, and more.
v0.1 No numbered release yet
Teanga Ríomhchlárúcháin as Gaeilge
Gaeil is a programming language written in Irish (Gaeilge). You write keywords such as scríobh, má, and feidhm. gaeil.py translates them into Python and runs the program — on a laptop, or on a phone in Termux.
$ git clone https://github.com/fitzyracing1/Gaeil.git
cd Gaeil
python gaeil.py examples/hello.gaeil
Why Gaeil
Gaeil is intentionally tiny: one translator file, a handful of examples, and the same Python you already have.
Familiar Python control flow, written as Gaeilge: scríobh, má, eile, fad, feidhm, and more.
gaeil.py replaces those keywords with Python and runs the result. No extra toolchain is required.
Use it on a desktop or in Termux on a phone. If you can run python, you can run Gaeil.
The playground translates Gaeil to Python and runs it with Pyodide. The runtime is loaded only when you press Run.
Examples
These are the real programs in examples/. The Python column is what gaeil.py produces.
Playground
The editor starts from the real example files. Run uses the same keyword map as gaeil.py, then executes the Python with Pyodide from a CDN.
Click Run to translate this Gaeil and execute it in the browser.
Python in the browser is loaded on the first Run. Nothing is sent to a server.
Quick start
Gaeil programs use the .gaeil extension. The only .py file you need is the translator.
Get the translator and the examples from GitHub.
git clone https://github.com/fitzyracing1/ Gaeil.git cd Gaeil
Point gaeil.py at a .gaeil file. This prints the translation, then the program output.
python gaeil.py examples/hello.gaeil
Use the Irish keywords from the reference below. Any other syntax is ordinary Python.
python gaeil.py my_program.gaeil
Tools
Gaeil itself stays a small translator. Helpers live in their own repositories.
Turns rough, mixed-style notes into runnable Gaeil. It lowercases keywords, converts C-style braces and comments, expands i++, and reports every change. The original file is never overwritten.
$ pipx install git+https://github.com/fitzyracing1/gaeil-tidy
Docs
This is the complete map from gaeil.py. Whole words are replaced; everything else is left as Python.
| Gaeil | Python |
|---|---|
scríobh | print |
má | if |
eile | else |
fad | while |
do | for |
feidhm | def |
fill | return |
fíor | True |
bréag | False |
agus | and |
nó | or |
ní | not |
léigh | input |
neamhní | None |
Because programs run through Python exec, only run Gaeil files you trust. The translator does not sandbox local runs. The in-browser playground is limited to what Pyodide allows in this page.