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.4.tar.gz (11.3 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.4-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: centella_lang-1.0.4.tar.gz
  • Upload date:
  • Size: 11.3 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.4.tar.gz
Algorithm Hash digest
SHA256 a8ba6ee17a219558d1c56724e5b91f21b9cdd9eb7048e3eb3e95c0c6305fca6c
MD5 dd8f0424bc364b3d9586bae2a2b61edb
BLAKE2b-256 8dbb4aa6fa7c4527ed437bd3e3b26b23609c12497e9f616bc5cf4d5d074c2365

See more details on using hashes here.

File details

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

File metadata

  • Download URL: centella_lang-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 822cc911d8d9d294c6a5053819173a84477c0ee4bc3b1834bb32d2a9dd8684d0
MD5 8916f7c4c0e2adadf94cfa8fa75e8314
BLAKE2b-256 21d54f2cabdaf139951408c8f2701bbc011a47589dfde584e96b889e722cc806

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