B++
B++ e uma linguagem de programacao em portugues, interpretada por um motor escrito em C++.
Requisitos
- Python 3.8 ou superior para instalar o pacote
g++com suporte a C++17 para construir o pacote
Instalar pelo PyPI
python -m pip install br-codex_xx
A instalacao compila automaticamente bpp.cpp e cria o comando bpp.
Executar um arquivo B++
bpp sistema.bpp
Exemplo minimo:
texto nome = "Ana";
inteiro idade = 20;
se (idade >= 18) {
escreva("Ola, {nome}. Voce e maior de idade.");
}
A sintaxe inclui tipos inteiro, decimal, texto, booleano e lista; escreva, leia, adicionar, se, senao se, senao, enquanto, para, funcao, retorne e comentarios //.
Compilar localmente
g++ -std=c++17 -O2 -Wall -Wextra -Wpedantic bpp.cpp -o bpp
./bpp sistema.bpp
Construir e publicar no PyPI
Crie uma conta no PyPI e configure um token de API no twine antes do upload. Depois execute, na raiz do projeto:
python -m pip install --upgrade build twine
rm -rf build dist *.egg-info
python -m build
python -m twine check dist/*
python -m twine upload dist/*
Para testar primeiro no TestPyPI:
python -m twine upload --repository testpypi dist/*
python -m pip install --index-url https://test.pypi.org/simple/ br-codex_xx
O comando twine upload solicitará o usuário e o token, caso eles não estejam configurados por variáveis ou por um arquivo .pypirc.
Metadata
Release files for br-codex-xx 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| br_codex_xx-0.1.4.tar.gz | 15.7 kB | Without provenance | Details for br_codex_xx-0.1.4.tar.gz |
Release files / br_codex_xx-0.1.4.tar.gz
| Download URL | br_codex_xx-0.1.4.tar.gz |
|---|---|
| Size | 15.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
14eda5980d4f96585080d15b556ce4beecba5d23dbd4854268d927db2cc1ec96
|
|
BLAKE2b-256 checksum How to use checksums |
33773dc8582ff4b238ba606cb9db11f3ed6b2f3c9701c9c7a416f14e61e81a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.1
|
Security for br-codex-xx 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.