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.2.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

programminglython-0.2.2-py2.py3-none-any.whl (13.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file programminglython-0.2.2.tar.gz.

File metadata

  • Download URL: programminglython-0.2.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.14

File hashes

Hashes for programminglython-0.2.2.tar.gz
Algorithm Hash digest
SHA256 2ac523520dfcf3e946d6d21f09349cba162628e7fcef32e1bbb30137c4b6b31f
MD5 fc1c5766cc7a93575662fa2318bd230e
BLAKE2b-256 1f7346b9484af1c4d12140a2d4b3a93daa3597d204ba7ec77b84e7c73ea7d483

See more details on using hashes here.

File details

Details for the file programminglython-0.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for programminglython-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 00fa342f0a04e0b2b6529c09dad35879701512f61533aafef39171132faab7a6
MD5 0f555e5797d7b7dd3bea0577b5f7ef9f
BLAKE2b-256 901615c5f4c2f04fb6453022175f544f5f45e268d91f7b28f889bb4fe0297ab1

See more details on using hashes here.

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