#pydialect — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pydialect, aggregated by home.social.
-
Re: libranet.de/display/0b6b25a8-2…
(but I don't want to spam that thread any more than I already have)
> My fantasy project is implementing py2 in a language-oriented-programming for Python, the name of which escapes me right now.
Ah, here it is, #pydialect:
github.com/Technologicat/pydia…
> Place a lang-import at the start of your module that uses a dialect:
>from __lang__ import piethon
> Run your program (in this example written in the piethon dialect) through the pydialect bootstrapper instead of python3 directly
[ . . . ]
> The lang-import syntax was chosen as a close pythonic equivalent to Racket's #lang foo.
#lop #LanguageOrientedProgramming #racket #python
@racket @python
Claes Wallin (韋嘉誠) SE HK