HashLDash / Photon

Lightning fast and portable programming language!
GNU General Public License v2.0
68 stars 10 forks source link

Extension name #7

Closed HashLDash closed 7 months ago

HashLDash commented 3 years ago

Now that the language name changed to Photon, it's time to reconsider the extension name:

What do you think?

robertoweller commented 3 years ago

.pt hihi cool

jsalexsandro commented 3 years ago

.pt

ntaraujo commented 3 years ago

Some helpful info:

From these, I would consider

a problem:

not a considerable problem:

and old as hell:

I just think pt has a little shade of red and ph remembers me chemistry :P

HashLDash commented 3 years ago

I think .p is the least problematic.

Pickle is mostly used as .pkl Pascal is mostly used as .pas LightWave? Not a concern.

However, there is a P programming language. Seems like all of the alphabet is taken... lol

robertoweller commented 3 years ago

And if use .pw? Or .hp, .po?

ntaraujo commented 3 years ago

I forgot to mention that .p is also used by MATLAB binary run-time files

But at all, i think .p is a good choice. It is more beautiful too kk

If in some specific conflict cases, the person could just rename his files with .ph or .photon as these other languages do

HashLDash commented 3 years ago

Here is a list of programming language extensions. list

search for .ext" and you will get all languages with the ext extension

.pho is not in this list, for example.

robertoweller commented 3 years ago

I created a program that can help you choose a name.

Criei um programa que pode ajudá-lo a escolher um nome.

Ele procura o formato do arquivo. It looks for the file format.

Just run this command. Basta executar este comando :

git clone https://github.com/robertoweller/acha_formato.git
cd acha_formato/
python3 main.py

or Looking for or downloading from my repository, I did it based on what @HashLDash Presents.

ou Procurando ou baixar do meu repositório, fiz baseado no que @HashLDash apresentou.

I hope it will be useful to someone. Espero que seja útil para alguém.

robertoweller commented 3 years ago

Testando aqui, .pn não tem.

Testing here, .pn doesn’t have

robertoweller commented 3 years ago

Here is a list of programming language extensions. list

search for .ext" and you will get all languages with the ext extension

.pho is not in this list, for example.

Nas linhas 101, 1299 e 1757 falta "extensions", pode da erro dependendo do jeito que usar, então coloquei um "extensions": [] vazio só para não dar erro, quiser usar está aqui, foi o @ntaraujo que me deu a idéia kk

HashLDash commented 3 years ago

Acho que .y é interessante.

É utilizado pelo yacc (Yet another compiler compiler). Mas é uma das possíveis extensões e é uma linguagem para compiladores e não é utilizada para linguagens de programação. Além disso é parecido com o símbolo gamma, que é o símbolo do fóton em física.

ntaraujo commented 3 years ago

dahora, mas talvez seja pouco intuitivo... como se o python usasse uma extensão .s de snake

HashLDash commented 7 months ago

Well, w it is. At least for now. Thanks for all contribution! I'll close this, but fell free to reopen if anyone has a good idea.