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.2.tar.gz (11.1 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.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: centella_lang-1.0.2.tar.gz
  • Upload date:
  • Size: 11.1 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.2.tar.gz
Algorithm Hash digest
SHA256 970ea7dc3fcef324743d4bf1e8567f874548f80514131302a766cbda447b7003
MD5 cfbad34e3d578d1478327c0e50fb7393
BLAKE2b-256 b0f767b42823e13622a258e3398e7733fb52148f1ba3e91e4613f91dab428dce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: centella_lang-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9657da4cac27fe2d61e1461f6963ce7bd25c000337b6623d5937b3a367a25085
MD5 c7f4be73555391f0d06c9149da27ec59
BLAKE2b-256 7e7e648eed4d7c5159b686fbdfd7d8546e6b1a7e1f6603534177071b9ca7dcdb

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