Crates.io | dpy |
lib.rs | dpy |
version | 0.2.0 |
source | src |
created_at | 2022-10-22 14:54:06.49194 |
updated_at | 2022-12-26 16:43:50.412628 |
description | A simple transpiler to translate dutch python like code to working python code. |
homepage | |
repository | https://github.com/Arthurdw/DutchPython |
max_upload_size | |
id | 694499 |
size | 11,144 |
A simple transpiler to translate a dutch python like language to python.
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.
dpy can be installed using cargo, the rust package manager.
$ cargo install dpy
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 |
toon | |
range | bereik |