virejdasani / pythOwO

an UwU programming language
https://youtu.be/czZmkh7CY6M
MIT License
843 stars 46 forks source link

Get pythOwO to show up as a language on Github #20

Open virejdasani opened 2 years ago

virejdasani commented 2 years ago

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:

UndefinedConcept commented 2 years ago

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...

akirataguchi115 commented 2 years ago

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!

Tulip-0333 commented 1 year ago

Doing now one second

Tulip-0333 commented 1 year ago

Doing now one second

failed at doing it now :(

Almas-Ali commented 1 year ago

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