This commit is contained in:
147
tests/test_pack.json
Normal file
147
tests/test_pack.json
Normal file
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"meta": {
|
||||
"name": "Spanish",
|
||||
"native_name": "Español",
|
||||
"code": "es"
|
||||
},
|
||||
"keywords": {
|
||||
"si": "if",
|
||||
"sino": "else",
|
||||
"osi": "elif",
|
||||
"para": "for",
|
||||
"mientras": "while",
|
||||
"def": "def",
|
||||
"clase": "class",
|
||||
"importar": "import",
|
||||
"de": "from",
|
||||
"como": "as",
|
||||
"retornar": "return",
|
||||
"parar": "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",
|
||||
"elim": "del",
|
||||
"global": "global",
|
||||
"nolocal": "nonlocal",
|
||||
"afirmar": "assert",
|
||||
"generar": "yield",
|
||||
"esperar": "await",
|
||||
"asinc": "async",
|
||||
"lambda": "lambda",
|
||||
"Verda": "True",
|
||||
"Falso": "False",
|
||||
"Nada": "None"
|
||||
},
|
||||
"builtins": {
|
||||
"escribir": "print",
|
||||
"imprimir": "print",
|
||||
"entrada": "input",
|
||||
"lon": "len",
|
||||
"dist": "range",
|
||||
"tipo": "type",
|
||||
"ent": "int",
|
||||
"dec": "float",
|
||||
"texto": "str",
|
||||
"lista": "list",
|
||||
"dicc": "dict",
|
||||
"conj": "set",
|
||||
"tupla": "tuple",
|
||||
"bool": "bool",
|
||||
"abrir": "open",
|
||||
"enumerar": "enumerate",
|
||||
"map": "map",
|
||||
"filtrar": "filter",
|
||||
"ordenado": "sorted",
|
||||
"invertido": "reversed",
|
||||
"sum": "sum",
|
||||
"min": "min",
|
||||
"max": "max",
|
||||
"abs": "abs",
|
||||
"redondear": "round",
|
||||
"rnd": "round",
|
||||
"todos": "all",
|
||||
"alguno": "any",
|
||||
"esinstancia": "isinstance",
|
||||
"teneatri": "hasattr",
|
||||
"obtatri": "getattr",
|
||||
"estabatri": "setattr",
|
||||
"repr": "repr",
|
||||
"formatear": "format",
|
||||
"vars": "vars",
|
||||
"sigue": "next",
|
||||
"id": "id",
|
||||
"car": "chr",
|
||||
"hex": "hex",
|
||||
"bin": "bin",
|
||||
"oct": "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": {
|
||||
"mate": "math",
|
||||
"sis": "sys",
|
||||
"fechahora": "datetime",
|
||||
"tiempo": "time",
|
||||
"aleatorio": "random",
|
||||
"aleatoria": "random",
|
||||
"colecciones": "collections",
|
||||
"ruta": "pathlib",
|
||||
"er": "re"
|
||||
},
|
||||
"postfix_keywords": []
|
||||
}
|
||||
Reference in New Issue
Block a user