All Projects → HashLDash → Photon

HashLDash / Photon

Licence: GPL-2.0 license
Lightning fast and portable programming language!

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
CWeb
17 projects
shell
77523 projects
powershell
5483 projects
Vim Script
2826 projects

Photon

Install on Convert to Run in

PT-BR Channel Contributions Welcome Discord Server

Documentation in English

Lightning fast and portable programming language!

What is Photon?

Photon is a programming language aimed at filling the gaps of the Python language with respect to performance and portability. I love Python, but I cannot use it anywhere I want because it is not a supported language of the platform, lacks performance or is very cumbersome to actually package it or deploy it. Photon applications can run in any platform. Some examples are: Windows, Linux, MacOS, BSD, Android, IOs, RaspberryPi, HTML5, Xbox, Playstation, etc.

I want to see it!

Devlog is available here. I also uploaded a video on my portuguese channel comparing it to Python and C, check it out here.

Quickstart

Download or clone (preferred) the repository where you want to install it. Execute the windowsInstaller.bat if you are in Windows or linuxInstaller.sh if you are in Linux. After the installation process, you should have photon installed and available in your PATH. Now you can write this simple Hello World, with any text editor of your choice.

print("Hello World!")

Save it as hello.w and then execute it in your cmd or powershell with

photon hello.w

And you should see the Hello World! output in your console!

In the devlog 1, I show how to install and create your first hello world program. Click here to see it.

ALPHA Stage

Photon is currently in early alpha. If you like this project and want to contribute, please consider donating or subscribing to my youtube channel, where I'll post a dev log of this language (devlog). Also, join the discussion here on github about the future and your thoughts on the language!

Documentação em português Linguagem de programação extremamente rápida e portátil!

O que é Photon?

Photon é uma linguagem de programação que visa preencher as lacunas da linguagem Python no que diz respeito ao desempenho e portabilidade. Eu amo Python, mas não posso usá-lo em qualquer lugar que eu queira porque não é uma nativamente suportada, não tem desempenho suficiente ou aprensenta muitas complicações para distribuir um executável na plataforma de destino. Por outro lado, os aplicativos Photon podem ser facilmente executados em qualquer plataforma. Alguns exemplos são: Windows, Linux, MacOS, BSD, Android, IOs, RaspberryPi, HTML5, Xbox, Playstation, etc.

Quero ver!

O Devlog está disponível aqui. Também carreguei um vídeo no meu canal português comparando-o com Python e C, confira aqui.

Começo rápido

Baixe ou clone (preferencialmente) o repositório onde deseja instalá-lo. Execute o windowsInstaller.bat se você estiver no Windows ou linuxInstaller.sh se você estiver no Linux. Após o processo de instalação, você deve ter o photon instalado e disponível na sua PATH (como variável do seu sistema). Agora você pode escrever este simples Hello World, com qualquer editor de texto de sua escolha.

print("Olá, mundo!")

Salve-o como hello.w e execute-o em seu cmd ou powershell com

photon hello.w

E você deverá ver o Hello World! em seu console!

No devlog 1, mostro como instalar e criar seu primeiro programa hello world. Clique aqui para ver.

Estágio ALPHA

Photon está atualmente em alfa. Se você gosta deste projeto e deseja contribuir, considere doar ou se inscrever no meu canal youtube , onde postarei um dev log desta linguagem (devlog). Além disso, participe da discussão aqui no github sobre o futuro e sua opinião sobre a linguagem!

Documentación en español ¡Lenguaje de programación extremadamente rápido y portátil!

¿Qué es Photon?

Photon es un lenguaje de programación que tiene como objetivo llenar los vacíos en el lenguaje Python con respecto al rendimiento y la portabilidad. Me encanta Python, pero no puedo usarlo en cualquier lugar que quiera porque no es compatible de forma nativa, no tiene suficiente rendimiento o tiene muchas complicaciones para distribuir un ejecutable en la plataforma de destino. Por otro lado, las aplicaciones Photon se pueden ejecutar fácilmente en cualquier plataforma. Algunos ejemplos son: Windows, Linux, MacOS, BSD, Android, IOs, RaspberryPi, HTML5, Xbox, Playstation, etc.

¡Quiero ver!

El Devlog está disponible aquí. También subí un video en mi canal portugués comparándolo con Python y C, compruébalo aquí.

Etapa ALPHA

Photon se encuentra actualmente en alfa. Si te gusta este proyecto y quieres contribuir, considera hacer una donación o suscribirte a mi canal de youtube, donde publicaré un registro de desarrollo de este idioma devlog ¡Además, participa en la discusión aquí en github sobre el futuro y tu opinión sobre el lenguaje!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].