Spanish Syntax
All keywords, types, and interpreter messages are in Spanish, making code more readable and reducing the learning curve for Spanish speakers.
// Quetzal Language v0.0.2
texto saludo = "Hola, Quetzal"
log es_activo = verdadero
lista<entero> valores = [1, 2, 3]
consola.mostrar_exito(saludo)
consola.mostrar(t"Valores: {valores.texto()}")Spanish Syntax
All keywords, types, and interpreter messages are in Spanish, making code more readable and reducing the learning curve for Spanish speakers.
Strong Typing
The interpreter validates types during analysis and at runtime. Explicit conversions use methods like .entero() or .texto() when safe.
Native Lists and JSON
The lista and jsn structures are first-class citizens with built-in methods to access, convert, and manipulate nested data.
Object-Oriented
Define objects with privado and publico blocks, constructors, inheritance, and reusable static members.
Permission-Based Modules
Control access to system resources through the quetzal.json configuration file.
Rust Implementation
The interpreter written in Rust provides fast execution, detailed error handling, and tools like the official VS Code extension.
importar { Matematica} desde "quetzal/matematica"
texto var mensaje = "Bienvenido"lista<texto> tecnologias = ["Quetzal", "Rust", "JSON"]
numero resultado = Matematica.sumar(2, 3)consola.mostrar_exito(mensaje + " a Lenguaje Quetzal")consola.mostrar(t"Resultado: {resultado}")
para (texto tecnologia en tecnologias) { consola.mostrar(t"Tecnologia: {tecnologia}")}Easy to Learn
Intuitive syntax designed so anyone can start programming without language barriers.
Perfect for:
Modern Development
All the features you expect from a contemporary language, but in Spanish.
Includes:
Interoperability
Designed to integrate seamlessly with the current development ecosystem.
Compatible with:
Expressive and Elegant
Clean, readable code that expresses your ideas naturally.
Benefits:
1. Learn the Basics
Master the fundamentals of the language with our step-by-step guide.
2. Install Quetzal
Set up your development environment in minutes.
3. Practice with Examples
Explore real projects and practical use cases.
4. Join the Community
Contribute to development and connect with other developers.
Join the Spanish programming revolution and discover how powerful Quetzal Language can be.