Skip to main content

Lython programming language built on top of CPython

Project description

status workflow test status workflow build Downloads Code style: black

example lython code

def test(num)
    for i in range(num) do
        if i == 0 then
            print("zero")
        elif i % 2 == 1 then
            print("odd")
        else
            print("even")
        end # if else
    end # for
end # def

test(10)

Note:

  • The indentation in the code above is just to make the code look pretty and has no effect on the parser.

  • you cant use then, do, end as name variable, function and class in lython.

github: guangrei/lython

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

programminglython-0.1.3.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

programminglython-0.1.3-py2.py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page