See how pythOwO was made (2 min video)
pythOwO is an uwu programming language written in Python. UwU.
Get PythOwO LangUwUage support for VSCode
pwint("Hewwo Wowrld")
Either run from the interpreter directly:
python pythowo.py test.pyowo
Or run in an interactive shell:
python shwell.py
> rwun("test.pyowo")
Hewwo Wowrld
python shwell.py
opens the pythOwO shell. Running rwun("test.pyowo")
from the shell execuwutes code from the file test.pyowo
.
Variables can be decluwuared using the keyword pwease
.
pwease baka = 100
pwease awoo = "two"
pwease chan = 25
pwease baka = baka + 1
pwease awoo = 500
pwease chan = chan * 2
pwint(awoo)
pwint(baka)
pwint(chan)
500
101
50
IF《condition》THWEN《expression》EWIF《condition》THWEN《expression》
pwease awoo = 501
IF awoo == 502 THWEN pwease chan = "awoo is 502!" EWIF awoo == 501 THWEN pwease chan = "awoo is 501!" EWSE pwease chan = "awoo is 500!"
pwint(chan)
awoo is 501!
FOR i = 0 TO 5 THWEN
pwint("UwU")
END
UwU
UwU
UwU
UwU
UwU
FWUNCTION owofy(pwefix) -> pwefix + "OwO"
pwint(owofy("This is pyth"))
This is pythOwO
All contribuwutions are welcome, just make a puwull request!
Unit tests are available through the unittest module. New test files must start with `test*.py` to be detected.
python -m unittest
Pythowo logo credit