From 125ce612e13b3cf0929f30aa83463c9b86cfd417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismael=20Venegas=20Castell=C3=B3?= Date: Sun, 14 Apr 2024 18:35:22 -0600 Subject: [PATCH] * --- README.md | 14 +++++++------- src/i18n/kvrasm_eo.c | 6 +++--- src/i18n/kvrasm_es.c | 4 ++-- src/i18n/kvrasm_tok.c | 6 +++--- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 2b3687f..a177f94 100644 --- a/README.md +++ b/README.md @@ -18,9 +18,9 @@ in C. ### Supported Languages - English -- Spanish (`LANG_ES`) -- Esperanto (`LANG_EO`) -- Toki pona (`LANG_TOK`) +- Spanish (`es`) +- Esperanto (`eo`) +- Toki pona (`tok`) ## Build @@ -85,7 +85,7 @@ $ source ~/.bashrc ## TODO -- [] Implement `kvrptr` (Kvara porter). -- [] Explain how to contribute and add a new language. -- [] Implement another utility to scafold and make easier adding new languages. -- [] Use the opcode test for all languages. +- [ ] Implement `kvrptr` (Kvara porter). +- [ ] Explain how to contribute and add a new language. +- [ ] Implement another utility to scafold and make easier adding new languages. +- [ ] Use the opcode test for all languages. diff --git a/src/i18n/kvrasm_eo.c b/src/i18n/kvrasm_eo.c index 41aa5ba..f108608 100644 --- a/src/i18n/kvrasm_eo.c +++ b/src/i18n/kvrasm_eo.c @@ -29,9 +29,9 @@ #define SUB "SUB" // subtrahi #define MUL "MUL" // multipliki #define DIV "DIV" // dividi -#define AND "KBO" // kaj bitope -#define ORA "ABO" // aŭ bitope -#define EOR "EKA" // ekskluziva aŭ +#define AND "KBO" // KAJ bitope +#define ORA "ABO" // AŬ bitope +#define EOR "EKA" // ekskluziva AŬ #define SFT "ŜOV" // ŝovi #define ERROR_ASM "%s: %s ĉe @%s, %s:%d.\n" #define RETURN_MODE 'r' // reveni diff --git a/src/i18n/kvrasm_es.c b/src/i18n/kvrasm_es.c index dceebbe..7459a3c 100644 --- a/src/i18n/kvrasm_es.c +++ b/src/i18n/kvrasm_es.c @@ -15,7 +15,7 @@ #define LTH "MEQ" // menor que #define JMP "SAL" // saltar #define JCN "SCN" // saltar condicionalmente -#define JSR "SRR" // saltar reservar retorno +#define JSR "SRR" // saltar reservar regreso #define STH "RES" // reservar #define LDZ "CAC" // cargar cero (página) #define STZ "GUC" // guardar cero (página) @@ -31,7 +31,7 @@ #define DIV "DIV" // dividir #define AND "YNB" // y a nivel de bits #define ORA "ONB" // o a nivel de bits -#define EOR "OEX" // o exclusivo +#define EOR "OEX" // o a nivel de bits exclusivo #define SFT "DES" // desplazar #define ERROR_ASM "%s: %s en @%s, %s:%d.\n" #define RETURN_MODE 'r' // regreso diff --git a/src/i18n/kvrasm_tok.c b/src/i18n/kvrasm_tok.c index fa4a2db..302a896 100644 --- a/src/i18n/kvrasm_tok.c +++ b/src/i18n/kvrasm_tok.c @@ -32,9 +32,9 @@ #define SUB "NWE" // nanpa weka #define MUL "NKU" // nanpa kulupu #define DIV "NKI" // nanpa kipisi -#define AND "LAL" // lili ale -#define ORA "LAN" // lili anu -#define EOR "LWA" // lili wan +#define AND "LAL" // lili ALE +#define ORA "LAN" // lili ANU +#define EOR "LWA" // lili WAN #define SFT "LTA" // lili tawa #define ERROR_ASM "%s: %s in @%s, %s:%d.\n" #define RETURN_MODE 'p' // poki