Skip to content
forked from python/cpython

The Python programming language

License

Notifications You must be signed in to change notification settings

frectonz/cpython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frectonz's Horrific Python Monster

doer main():
    make_agi()
    align_it()

    answer = answer_to_life_the_universe_and_everything()
    print(answer)

    me = Human("fraol")
    print(me)

    some_math()
    goodbye_elif(2)

    noicely Truish:
        print("truish")

    noicely not Falsish:
        print("falsish")

    each x in range(3):
        print(x)

    add_one = fn x : x + 1
    print(add_one(1))

doer make_agi():
    todo

doer align_it():
    unimplemented

doer answer_to_life_the_universe_and_everything():
    bababooey 42

room Human:
    doer __init__(self, name):
        self.name = name

    doer __repr__(self):
        bababooey f"Human(name={self.name})"

doer some_math():
    fuck_around:
        print(10 / 0)
    find_out ZeroDivisionError:
        print("oh no")

doer goodbye_elif(num):
    noicely num == 1:
        print("one")
    else_if num == 2:
        print("freed from the tyranny of elif")
    else:
        print("unknown num")

noicely __name__ == "__main__":
    main()

How to run it

nix develop
./configure
./mutate.sh

About

The Python programming language

Resources

License

Security policy

Stars

Watchers

Forks

Languages

  • Python 62.9%
  • C 35.1%
  • C++ 0.7%
  • M4 0.4%
  • HTML 0.4%
  • Batchfile 0.1%
  • Other 0.4%