#python #translate #transpiler #dutch #language

app dpy

A simple transpiler to translate dutch python like code to working python code

3 releases (breaking)

0.2.0 Dec 26, 2022
0.1.0 Oct 22, 2022
0.0.1 Oct 22, 2022

#1537 in Development tools

MIT license

7KB
91 lines

Dutch python

A simple transpiler to translate a dutch python like language to python.

image

Why?

This is an attempt to make it easier for kids to learn programming without having to struggle with the language barrier that comes with programming.

Installation

dpy can be installed using cargo, the rust package manager.

$ cargo install dpy

Current keyword translations

Python Dutch
def functie
if indien
else anders
elif anders indien
False onwaar
True waar
None niks
and en
as als
assert vergelijk
break onderbreek
class klas
continue ga door
del verwijder
except uitzondering
finally uiteindelijk
for voor elke
from uit
global globaal
import importeer
in in
is is
lambda anonieme functie
nonlocal niet lokaal
not niet
or of
pass laat door
raise uitzonder
return retour
try probeer
while terwijl
with met
yield beng op
input vraag
print toon
range bereik

Dependencies

~2–12MB
~129K SLoC