Luathon

From Esolang
Jump to navigation Jump to search

Luathon is an unimplemented Esolang that is Lua and Python mixed together. Programs from both work.

Hello World

print("Hello world")

Fun fact: This is the form in both Python and Lua!

Cat

Python

print(input())

Lua

print(io.read())

amo gus

a = io.read()
if a == "amo":
    print("gus")
elif g = "gus" do
    print("amo")
else:
    print("")
end