Lython programming language built on top of CPython
Project description
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.
author: guangrei
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.0.tar.gz
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for programminglython-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51a07e22dd8658dae77d9784490dff273db77c5df6b80f020018e49dd9cb1e63 |
|
MD5 | f5f1ff10ea4216a585d4177665c462e4 |
|
BLAKE2b-256 | fb89e3949c882b8ab522811372ecbcc6028b927a33c5166831286ed51fea92b1 |