pythOwO icon indicating copy to clipboard operation
pythOwO copied to clipboard

Get pythOwO to show up as a language on Github

Open virejdasani opened this issue 2 years ago • 5 comments

I think it would be uwumazing if we managed to get pythOwO recognized as a language on Github so it shows on our repos like this: image

I've linked some resources I found about how to go about doing this:

virejdasani avatar Jun 28 '22 15:06 virejdasani

We should probably add some other key features like a builtin owo-ifier that replace the letters "r" and "l" with "w".(idea from that discord bot) to set it out from the other languages.(Convert str to list and search for "r" and "l" to replace them with "w"). I finished a built-in that make the text into a rainbow but it is not omptized. It should be able to use the same format to make as the builtin "pwint" but it uses acsii which is the closest thing I can found to be counted as a builtin. The code below is the code I made on some online python compilier to test the function before trying to add it here.

#insert string and this return a string but with an ascii inbetween each of the character(not optimal).
def rainbow(words:str)-> str:
  color=["\033[31m","\033[33m","\033[93m","\033[92m","\033[34m","\033[36m","\033[35m"]
  lencolor=0
  word=list(words)
  l=len(words)*2
  for inserts in range(0,l,2):
    if lencolor == 7:  
      lencolor=0 #resets the colors cuz it reached the end of the "color" array
    word.insert(inserts,color[lencolor])
  lencolor+=1    
  return "".join(word)

I had modify the builtin function "pwint" by modifying the input for the "def" function and pasting the rest of th code above and it worked(it was modded a bit cuz don't want a random user to use the same variable name and crash this builtin). But when I try to make a new built-in keyword for this. The code doesn't accept it as a function. Plz help...

UndefinedConcept avatar Jun 28 '22 23:06 UndefinedConcept

https://github.com/github/linguist/blob/master/CONTRIBUTING.md#user-content-adding-an-extension-to-a-language

We could create a milestone badge for the 200 repositories using pythOwO!

akirataguchi115 avatar Oct 07 '22 07:10 akirataguchi115

Doing now one second

Tulip-0333 avatar Feb 18 '23 04:02 Tulip-0333

Doing now one second

failed at doing it now :(

Tulip-0333 avatar Feb 24 '23 03:02 Tulip-0333

Hey, you can tryout this project https://github.com/radon-project/radon because this projects are not maintaining. We will move a language together. It's very exciting. We have implement class feature in our project. Also standard library and third party imports.

See you there.

@virejdasani @akirataguchi115 @fox-of-snow @Tulip-0333

Almas-Ali avatar Jun 28 '23 06:06 Almas-Ali