please dont use this it's named shitlang for a reason
docs here
- download source code by cloning repository or downloading the source zip from github
git clone https://github.com/sertdfyguhi/shitlang- run shitlang.py using python3
python3 shitlang.pyexamples (more examples)
print("Hello World!")
set('x', "set('x', {})print(format(get('x'), add(chr(34), add(get('x'), chr(34)))))")print(format(get('x'), add(chr(34), add(get('x'), chr(34)))))
~ 0 ~
print(0)
~~
~ 0 condition ~
return(equals(get('input'), '0'))
~~
~ 1 ~
while(function('1 loop condition'), function('1 loop'))
~~
~ 1 condition ~
return(equals(get('input'), '1'))
~~
~ 1 loop condition ~
return(true)
~~
~ 1 loop ~
print(1)
~~
set('input', input(''))
if(function('0 condition'), function('0'))
if(function('1 condition'), function('1'))