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.3.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.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: centella_lang-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ecb17d23514f578710c09fbb2884e0fddb779f62586ef09b115430c64f8a8eb5
MD5 7594e00ddf1a5c80aa1ad630d96541e0
BLAKE2b-256 25dec7dcbb45fa7809b33f5c356139cb3b999938b25e07c9eb9e454daaae9c10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: centella_lang-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 504360cfecd8594626c0609c35866edb57317a0b700ca8d0d0d619618bedf5c8
MD5 6ee24e12722ace18cd9fa1f5e17e78af
BLAKE2b-256 7f74c04e5172a149d611d790a770e68564e40aa819817c8a8d562e358a9935ee

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