From 10a6093ddc6178f26b11d237b47b369a37c03a6d Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Fri, 15 May 2026 18:45:11 -0500 Subject: [PATCH] claude spanish --- src/foreignthon_es/es.json | 145 +++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) diff --git a/src/foreignthon_es/es.json b/src/foreignthon_es/es.json index e69de29..2797de1 100644 --- a/src/foreignthon_es/es.json +++ b/src/foreignthon_es/es.json @@ -0,0 +1,145 @@ +{ + "meta": { + "name": "Spanish", + "native_name": "Español", + "code": "es", + "version": "0.1.0", + "authors": [] + }, + "keywords": { + "si": "if", + "sino": "else", + "sino_si": "elif", + "para": "for", + "mientras": "while", + "definir": "def", + "clase": "class", + "importar": "import", + "desde": "from", + "como": "as", + "retornar": "return", + "romper": "break", + "continuar": "continue", + "pasar": "pass", + "intentar": "try", + "excepto": "except", + "finalmente": "finally", + "lanzar": "raise", + "con": "with", + "en": "in", + "es": "is", + "y": "and", + "o": "or", + "no": "not", + "eliminar": "del", + "global": "global", + "nolocal": "nonlocal", + "afirmar": "assert", + "generar": "yield", + "esperar": "await", + "asincrono": "async", + "lambda": "lambda", + "Verdadero": "True", + "Falso": "False", + "Nada": "None" + }, + "builtins": { + "imprimir": "print", + "entrada": "input", + "longitud": "len", + "rango": "range", + "tipo": "type", + "entero": "int", + "decimal": "float", + "cadena": "str", + "lista": "list", + "diccionario": "dict", + "conjunto": "set", + "tupla": "tuple", + "booleano": "bool", + "abrir": "open", + "enumerar": "enumerate", + "mapear": "map", + "filtrar": "filter", + "ordenado": "sorted", + "invertido": "reversed", + "suma": "sum", + "minimo": "min", + "maximo": "max", + "absoluto": "abs", + "redondear": "round", + "todos": "all", + "alguno": "any", + "es_instancia": "isinstance", + "tiene_atributo": "hasattr", + "obtener_atributo": "getattr", + "establecer_atributo": "setattr", + "representar": "repr", + "formatear": "format", + "variables": "vars", + "siguiente": "next", + "identificador": "id", + "caracter": "chr", + "hexadecimal": "hex", + "binario": "bin", + "octal": "oct" + }, + "exceptions": { + "Excepcion": "Exception", + "ExcepcionBase": "BaseException", + "ErrorDeValor": "ValueError", + "ErrorDeTipo": "TypeError", + "ErrorDeClave": "KeyError", + "ErrorDeIndice": "IndexError", + "ErrorDeAtributo": "AttributeError", + "ErrorDeNombre": "NameError", + "ErrorDeImportacion": "ImportError", + "ErrorDelSistema": "OSError", + "ArchivoNoEncontrado": "FileNotFoundError", + "ErrorDeEjecucion": "RuntimeError", + "DetenerIteracion": "StopIteration", + "SalidaDelSistema": "SystemExit", + "InterrupcionDeTeclado": "KeyboardInterrupt", + "ErrorNoImplementado": "NotImplementedError", + "ErrorDeDivisionCero": "ZeroDivisionError", + "ErrorDeRecursion": "RecursionError", + "ErrorDeSintaxis": "SyntaxError", + "ErrorDeAfirmacion": "AssertionError", + "ErrorDeDesbordamiento": "OverflowError", + "ErrorDeMemoria": "MemoryError", + "ErrorDePermiso": "PermissionError", + "ErrorDeTiempoAgotado": "TimeoutError" + }, + "error_messages": { + "SyntaxError": "Error de sintaxis", + "ValueError": "Error de valor", + "TypeError": "Error de tipo", + "KeyError": "Error de clave", + "IndexError": "Error de índice", + "AttributeError": "Error de atributo", + "NameError": "Error de nombre", + "ImportError": "Error de importación", + "FileNotFoundError": "Archivo no encontrado", + "ZeroDivisionError": "Error: división por cero", + "RecursionError": "Error de recursión", + "RuntimeError": "Error de ejecución", + "MemoryError": "Error de memoria", + "OverflowError": "Error de desbordamiento", + "AssertionError": "Error de afirmación", + "NotImplementedError": "Error: no implementado", + "StopIteration": "Detener iteración", + "KeyboardInterrupt": "Interrupción de teclado", + "PermissionError": "Error de permiso", + "TimeoutError": "Error de tiempo agotado" + }, + "stdlib": { + "matematicas": "math", + "sistema": "sys", + "fecha_hora": "datetime", + "tiempo": "time", + "aleatorio": "random", + "colecciones": "collections", + "ruta": "pathlib", + "expresion_regular": "re" + } +}