Skip to main content

The official Centella programming language compiler.

Project description

Centella Programming Language ⚡

Centella es un lenguaje de programación moderno, minimalista y ultra-rápido diseñado específicamente para el procesamiento masivo de datos y la automatización empresarial.

Combina la simplicidad de una sintaxis inspirada en Python (pero en español) con la potencia bruta de un backend híbrido (Python Frontend + LLVM/C Backend), generando ejecutables nativos altamente optimizados.

🚀 Características Principales

  • ⚡ Rendimiento Nativo: Compila directamente a código máquina usando LLVM y un Runtime escrito en C.
  • 📂 Streaming I/O: Procesa archivos de texto/CSV de gigabytes línea por línea con consumo de memoria constante.
  • 🗣️ Sintaxis en Español: si, sino, mientras, imprimir. Intuitivo y fácil de aprender.
  • 📊 Funciones Analíticas: Primitivas integradas para estadística (max, min, promedio) y texto (contiene, empieza_con).
  • 🛠️ Tooling Moderno: Extensión oficial para VS Code con resaltado de sintaxis e IntelliSense.

📦 Instalación

Puedes instalar el compilador oficial desde PyPI:

pip install centella-lang

Esto habilitará el comando centella en tu terminal.

Requisitos: Python 3.8+ y Clang instalado en el sistema.

💻 Ejemplo: ¡Hola Mundo!

Crea un archivo llamado hola.centella:

sea nombre = "Mundo"
sea version = 1.0

imprimir "Hola, " nombre
imprimir "Bienvenido a Centella v" version

// Condicionales
si version >= 1.0 {
    imprimir "Sistema actualizado."
}

Compílalo y ejecútalo:

centella hola.centella

📈 Ejemplo: Procesamiento de Datos

Analiza un CSV gigante en milisegundos:

sea total = 0

procesar "ventas.csv" capturando (id, cliente: texto, monto) {
    si monto > 1000 {
        imprimir "Venta VIP detectada: " cliente
        sea total = total + monto
    }
}

imprimir "Total Ventas VIP: " total

📄 Licencia

Este proyecto es Open Source. ¡Disfruta programando!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

centella_lang-1.0.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

centella_lang-1.0.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file centella_lang-1.0.1.tar.gz.

File metadata

  • Download URL: centella_lang-1.0.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for centella_lang-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4203a308edf87e28e514892c2972174c85b5ba2e326bcc078e5ce9990688440e
MD5 1c7913e9b1efc9784430caa0cd73ed30
BLAKE2b-256 685b69d17bc5ac429b5769d5b7a2dcac38cb91ed44c78e8adac1c05ba6245b66

See more details on using hashes here.

File details

Details for the file centella_lang-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: centella_lang-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for centella_lang-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2150faeaa66c972f69e34aa85ea12c4a21627aa068e8451d4f0a8657f7a7a12e
MD5 40ed2684b76c2393821ed86d3b630ae2
BLAKE2b-256 26a90f6bb11cc7189fe8ae92bd3da9bc27537cc72f48193da2d53fefaa3a7844

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page