Giter VIP home page Giter VIP logo

pythowo's Introduction

See how pythOwO was made (2 min video)

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


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 awoo = "two"
pwease chan = 25
pwease baka = baka + 1
pwease awoo = 500
pwease chan = chan * 2

pwint(awoo)
pwint(baka)
pwint(chan)

Ouwutpuwut

500
101
50

Conditionals

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)

Ouwutpuwut

awoo 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

Contributing

All contributions are welcome, just make a pull request!

Pythowo logo credit

uwu

pythowo's People

Contributors

virejdasani avatar prcsousa avatar swiddis avatar gholmes829 avatar undefinedconcept avatar enokiun avatar infinidoge avatar calciumista avatar ozgurozbek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.