Skip to content

sertdfyguhi/shitlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

107 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shitlang

Certified: Shit

please dont use this it's named shitlang for a reason
docs here

install

  1. download source code by cloning repository or downloading the source zip from github
git clone https://github.com/sertdfyguhi/shitlang
  1. run shitlang.py using python3
python3 shitlang.py

examples (more examples)

hello world

print("Hello World!")

quine

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)))))

truth machine

~ 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'))

About

shitlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages