Larkhré
Mossi sef raanné : « la langue de la machine », en soninké. Et larkhré, c'est la bouche. Le langage pour apprendre à coder en français, avec des erreurs qui t'expliquent quoi corriger.
laz nom = "Awa"
fonk saluer(qui) {
rend "Bonjour " + qui + " !"
}
pou i dan 1..3 {
vox(saluer(nom))
}
Essayer
Dans le navigateur, sans rien installer : larkhre.github.io/code (marche aussi sur téléphone, et hors ligne une fois ouvert).
Sur ton ordinateur (Python 3) :
pip install larkhre
larkhre mon_programme.laz # exécuter un fichier
larkhre # mode interactif
Sans pip : python3 larkhre.py exemples/demo.laz.
Pourquoi Larkhré
- Les erreurs sont expliquées en français, avec le « film » des dernières valeurs avant le plantage.
- Des mots-clés écrits comme on parle :
laz(variable),vox(afficher),kan(quand),tanke(tant que),pou … dan(pour … dans),fonk(fonction),walu(rien). ralenti()montre le programme s'exécuter ligne par ligne, variables visibles.- Tes langues :
#langue: anglais,#langue: francais(académique), et des packs en bambara et en wolof. - Une passerelle vers Python :
larkhre --traduire prog.lazproduit du Python lisible.
Le langage en 30 secondes
| Larkhré | Signification |
|---|---|
laz x = 5 |
déclarer une variable |
vox("salut") |
afficher |
demand("Ton nom ? ") |
saisie clavier (renvoie un texte) |
kan … { } sinon { } |
si / sinon |
tanke … { } |
tant que |
pou i dan 1..10 { } |
boucle pour |
fonk f(x) { rend x } |
fonction et retour |
kase / swiv |
break / continue |
vrai / faux / walu |
true / false / null |
et / ou / non |
and / or / not |
klas … herite … |
classes et héritage |
vox("Salut {nom}") |
interpolation |
essaie { } rattrape err { } |
gestion d'erreurs |
garde score = 0 |
variable qui se souvient entre deux exécutions |
Le manuel complet : GUIDE_LARKHRE.md. L'historique : CHANGELOG.md.
Apprendre
- L'École, dans le playground : 12 leçons avec vérification automatique.
- Le livre Apprends à coder de zéro : 14 chapitres, exercices corrigés, 3 projets.
Tous ses exemples sont vérifiés automatiquement dans
tests/.
Pour les développeurs
- Deux moteurs :
larkhre.py(Python, zéro dépendance) et le moteur JavaScript du playground (docs/code/index.html), publié sur npm :npm install larkhre. - Tests :
python3 tests/run_tests.pylance chaque programme sur les deux moteurs et compare leur sortie. GitHub les relance à chaque modification. - React : le composant
<LarkhrePlayground />dansreact/. - Agents IA : le serveur MCP
larkhre-mcpdansmcp/, et la spécification pour IA dans LARKHRE_POUR_IA.md.
English
Larkhré ("the mouth" in Soninke; mossi sef raanné, "the language spoken by the machine") is a beginner-friendly
programming language with French keywords and error messages that explain what to fix.
Curly braces, no semicolons. Try it in the browser at
larkhre.github.io/code or pip install larkhre.
Two engines (Python and JavaScript) are checked against the same test suite on every commit.
Licence
MIT — libre et gratuit, pour tout le monde. Créé par Ladji Doucaré, 2026. Anciennement LAZARUS.
Metadata
Release files for larkhre 11.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| larkhre-11.5.1.tar.gz | 35.7 kB | With provenance | Details for larkhre-11.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| larkhre-11.5.1-py3-none-any.whl | Python 3 | none | any | Details for larkhre-11.5.1-py3-none-any.whl |
Total release size: 71.7 kB
Release files / larkhre-11.5.1.tar.gz
| Download URL | larkhre-11.5.1.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae933d03ba0fb3056c19754804a6e655b3aa0c3389f4e4e0d0ed2d73a9cbc600
|
|
BLAKE2b-256 checksum How to use checksums |
caf7697a614ffffff4c3a019fcff1cbed47ff5c60d0c4373e628e97750be6810
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / larkhre-11.5.1-py3-none-any.whl
| Download URL | larkhre-11.5.1-py3-none-any.whl |
|---|---|
| Size | 36.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a0b6f64d1cdefb86746c7779b5f5bac834c3a65c5ab7cb963c6e4e56614dad3e
|
|
BLAKE2b-256 checksum How to use checksums |
40bbbb03649d11c254657475fad742848f98fcd99f243a9c917a9af96865aaff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logSecurity for larkhre 11.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for larkhre-11.5.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.