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 1 year ago
JSON representation
an UwU programming language
- Host: GitHub
- URL: https://github.com/virejdasani/pythOwO
- Owner: virejdasani
- License: mit
- Created: 2022-06-26T06:48:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-12T17:47:18.000Z (over 3 years ago)
- Last Synced: 2024-04-20T09:08:19.449Z (about 2 years ago)
- Topics: hacktoberfest, hacktoberfest2022, owo, programming-language, python, pythowo, pythuwu, uwu, uwulang, virej, youtube
- Language: Python
- Homepage: https://youtu.be/czZmkh7CY6M
- Size: 727 KB
- Stars: 822
- Watchers: 12
- Forks: 50
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
pythOwO
See how pythOwO was made (2 min video)
[](https://www.youtube.com/watch?v=czZmkh7CY6M)
pythOwO is an uwu programming language written in Python. UwU.
Get PythOwO LangUwUage support for VSCode
```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/)
> Pythowo [reddit post](https://www.reddit.com/r/ProgrammerHumor/comments/vl6qf8/i_actually_made_pythowo_link_in_comments/)
> Thank youwu @Haddle for making VSCode language support for PythOwO
> Thank youwu @Tulip-0333 for helping with putting PythOwO up on PyPi
uwu