Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/virejdasani/pythOwO

an UwU programming language
https://github.com/virejdasani/pythOwO

hacktoberfest hacktoberfest2022 owo programming-language python pythowo pythuwu uwu uwulang virej youtube

Last synced: about 2 months ago
JSON representation

an UwU programming language

Awesome Lists containing this project

README

        

pythOwO


See how pythOwO was made (2 min video)

[![](https://raw.githubusercontent.com/virejdasani/pythOwO/main/aswets/imwages/pythowo-banner.png)](https://www.youtube.com/watch?v=czZmkh7CY6M)


pythOwO is an uwu programming language written in Python. UwU.


Get PythOwO LangUwUage support for VSCode



PythOwO on PyPi

```bash
pip install PythOwO
```

Uwusage

Cruwueate a nuwu file - test.pyowo

```py
pwint("Hewwo Wowrld")
```

Ruwun

Either run from the interpreter directly:
```sh
python pythowo.py test.pyowo
```

Or run in an interactive shell:
```sh
python shwell.py
(。・ω・。)ノ♡> rwun("test.pyowo")
```

Ouwutpuwut

```
Hewwo Wowrld
```

Docuwumentation

General

python shwell.py opens the pythOwO shell. Running rwun("test.pyowo") from the shell execuwutes code from the file test.pyowo.

Variables


Variables can be decluwuared using the keyword pwease.

```py
pwease baka = 100
pwease tehe = "two"
pwease chan = 25
pwease baka = baka + 1
pwease tehe = 500
pwease chan = chan * 2

pwint(tehe)
pwint(baka)
pwint(chan)
```

Ouwutpuwut

```
500
101
50
```

Conditionals


IF《condition》THWEN《expression》EWIF《condition》THWEN《expression》

```py
pwease tehe = 501

IF tehe == 502 THWEN pwease chan = "tehe is 502!" EWIF tehe == 501 THWEN pwease chan = "
is 501!" EWSE pwease chan = "tehe is 500!"

pwint(chan)
```

Ouwutpuwut

```
tehe is 501!
```

Loops

```py
FOR i = 0 TO 5 THWEN
pwint("UwU")
END
```

Ouwutpuwut

```
UwU
UwU
UwU
UwU
UwU
```

Functions

```py
FWUNCTION owofy(pwefix) -> pwefix + "OwO"

pwint(owofy("This is pyth"))
```

Ouwutpuwut

```
This is pythOwO
```

Clear


You can clear the shell with the cwear command

```
(。・ω・。)ノ♡ > cwear
```

Contribuwuting


All contribuwutions are welcome, just make a puwull request!

Testing


Unit tests are available through the unittest module. New test files must start with `test*.py` to be detected.

```sh
python -m unittest
```

---

> Pythowo logo [credit](https://www.reddit.com/r/ProgrammerHumor/comments/vkkyyv/say_hello_to_pythowo_make_sure_to_treat_her_well/)

> Thank youwu @Haddle for making VSCode language support for PythOwO

> Thank youwu @Tulip-0333 for helping with putting PythOwO up on PyPi

uwu