Alvz Language v0.18.0
Lenguaje de programación interpretado con sintaxis completamente en español. Orientado a objetos, asíncrono, con tipado estático opcional. Basado en una VM de pila con 83 opcodes y compilación a WebAssembly.
Características
- Sintaxis en español — keywords, errores y documentación en español
- Orientado a objetos — clases, herencia, métodos estáticos, getters/setters,
super - Async/await — ejecución concurrente con
ThreadPoolExecutor - Tipado opcional — anotaciones de tipo con verificación estática (
--no-check-typespara deshabilitar) - 83 opcodes — VM de pila con bytecode completo (aritmética, control de flujo, closures, excepciones, debug)
- 13 módulos stdlib —
matematicas,cadenas,colecciones,testing,json,csv,sistema,fecha,http,sqlite,aleatorio,expresiones_regulares,consola - Compilación WASM — genera binarios
.wasmcompatibles con wasmtime 45+ - LSP + DAP — language server con diagnósticos, completado, ir a definición, hover; debugger con breakpoints, paso a paso, inspección de variables
- Extension VS Code — disponible en el Marketplace como "Alvz en Español": resaltado semántico, 48 snippets, autocompletado, iconos
- Modo seguro —
--saferestringe FS, red, imports y recursos - CLI completa —
alvz archivo.alvz,alvz test,alvz fmt,alvz nuevo,alvz build,alvz fix,alvz bench,alvz debug,alvz install - Standalone —
alvz buildgenera ejecutables con PyInstaller o Nuitka - 626 tests — cobertura de VM, parser, lexer, WASM, LSP, DAP, tipos, formatter, fixer, benchmarks
Instalación
pip install -e .
Requiere Python 3.10+.
Uso rápido
# Ejecutar archivo
alvz programa.alvz
# Ejecutar via WebAssembly (37+ opcodes nativos)
alvz --wasm programa.alvz
# REPL interactivo
alvz
# Ejecutar tests
alvz test tests/
# Formatear código
alvz fmt programa.alvz
# Verificar tipos estáticamente
alvz --no-check-types programa.alvz # deshabilita type checker
# Modo seguro (sin red, FS restringido)
alvz --safe programa.alvz
# Compilar a ejecutable o WASM
alvz build programa.alvz
alvz build programa.alvz --wasm
# Nuevo proyecto
alvz nuevo proyecto mi_app
# Analizar y corregir
alvz fix programa.alvz
# Benchmarks
alvz bench
# Depurar
alvz debug
Sintaxis básica
variable nombre = "Mundo"
imprimir("Hola " + nombre)
si (edad >= 18) {
imprimir("Mayor de edad")
} sino {
imprimir("Menor de edad")
}
mientras (x > 0) {
imprimir(x)
x = x - 1
}
funcion factorial(n) {
si (n <= 1) {
retornar 1
}
retornar n * factorial(n - 1)
}
clase Persona {
variable nombre = ""
variable edad = 0
funcion inicializar(n, e) {
nombre = n
edad = e
}
funcion saludar() {
imprimir("Hola, soy " + nombre)
}
}
Documentación
Proyecto
- GitHub: https://github.com/interpago/alvz
- Web: https://alvzes.web.app
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=alvz-project.alvz-language
- Licencia: GPL-3.0
Metadata
Release files for alvz-lenguaje 0.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alvz_lenguaje-0.18.0.tar.gz | 110.1 kB | Without provenance | Details for alvz_lenguaje-0.18.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alvz_lenguaje-0.18.0-py3-none-any.whl | Python 3 | none | any | Details for alvz_lenguaje-0.18.0-py3-none-any.whl |
Total release size: 201.6 kB
Release files / alvz_lenguaje-0.18.0.tar.gz
| Download URL | alvz_lenguaje-0.18.0.tar.gz |
|---|---|
| Size | 110.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3e5b46d72b5747c8eca4d0e3358288e1684b5136303538ddec4530795339897
|
|
BLAKE2b-256 checksum How to use checksums |
fa8cb6d077ae36131f22446a7547ccd079432e5734f42f62700e397ea820e40e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / alvz_lenguaje-0.18.0-py3-none-any.whl
| Download URL | alvz_lenguaje-0.18.0-py3-none-any.whl |
|---|---|
| Size | 91.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9418d7f14f2c3ce7aaa6beabf5c7563968532f37a49e53194a47df0010e4d1c2
|
|
BLAKE2b-256 checksum How to use checksums |
987f8af874f215b892641590c5e7996913a746deda956750efd88ae648bd62ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for alvz-lenguaje 0.18.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.