virejdasani/pythOwO
关于
一种 UwU 编程语言
编程语言与运行时实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文pythOwO
See how pythOwO was made (2 min video)
pythOwO is an uwu programming language written in Python. UwU.
Get PythOwO LangUwUage support for VSCode
pip install PythOwO
Uwusage
Cruwueate a nuwu file - test.pyowo
pwint("Hewwo Wowrld")
Ruwun
Either run from the interpreter directly:
python pythowo.py test.pyowo
Or run in an interactive shell:
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.
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》
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
FOR i = 0 TO 5 THWEN
pwint("UwU")
END
Ouwutpuwut
UwU
UwU
UwU
UwU
UwU
Functions
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.
python -m unittest
Pythowo logo credit
Pythowo reddit post
Thank youwu @Haddle for making VSCode language support for PythOwO
Thank youwu @Tulip-0333 for helping with putting PythOwO up on PyPi
uwu
探索相关项目
加载中…
