Write Python in French. A transpiler that takes French keywords and builtins and turns them into standard Python. You can run .ppour files directly or transpile them. Pourquoi pas :)
# C version (recommended) make # Python version pip install -e .
fonction saluer(nom):
afficher("Bonjour, " + nom + "!")
pour i dans portee(3):
saluer("monde")
si vrai:
afficher("C'est vrai!")
sinon:
afficher("C'est faux!")
# run a .ppour file pypour run fichier.ppour # transpile to python pypour transpile fichier.ppour
All the Python keywords: si for if, sinon for else, pour for for, fonction for def, tantque for while, retourner for return, and so on. Builtins too: afficher for print, saisir for input, longueur for len, portee for range. Even error messages come out in French.