Talk:Pyline

From Esolang
Jump to navigation Jump to search

exec?

exec("""
while True:
    print("If it uses exec, is it Pyline?")
# I'm surprised that nobody actually bothered to ask this since 2022.
""")

--Gilbert189 (talk) 12:15, 15 March 2025 (UTC)

Yeah, that would be allowed. In general, Pyline isn't actually a challenge to program in, because there are clean homomorphisms like the one you've given here; just write ordinary Python and then translate it down to Pyline. Perhaps we could forbid `exec()` from Pyline Classic instead? I intended that dialect as a genuine challenge for old hands who recall Python 2. Corbin (talk) 15:29, 15 March 2025 (UTC)