Meowthon: Way Cooler than Python
This project is comprised of some mischiefs with the cpython
interpreter, for purely educational reasons, and because I think it's cool.
- Cowsay Print: the original
print
function is boring. Let's fix that:
$ ./meowthon
Meowthon 69.420.666swag
Type "help", "copyright", "credits" or "license" for more information.
🍺| a = list(range(10))
🍺| print(a)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
\------------------/
\ ^__^
\ (oo)\________
(__)\ )\/\
||----w||
|| ||
oh yes. no more of that boring >>>
prompt; beers are the way to go.
- Nice Indexing: some numbers are just very nice. Meowthon acknowledges them:
$ ./meowthon
🍺| a = list(range(100))
🍺| a[69]
Nice! 👌
69
🍺| a[420]
Blaze it, homie
420