Making a meme out of this language...

This commit is contained in:
Ognjen Milan Robovic 2024-04-06 17:21:06 -04:00
parent 250310a0c9
commit d420564aa9
2 changed files with 19 additions and 19 deletions

14
heyo.x
View File

@ -1,9 +1,9 @@
type integer = 4;
type character = 1;
одреди слово = 1;
одреди број = 4;
text: character = "Heyo world!";
size: integer = 12;
текст: слово = "Здраво свете!";
дужина: број = 12;
main ():
system (1, 1, #text, size);
return;;
главна_процедура ():
изврши (1, 1, #текст, дужина);
врати;;

View File

@ -59,16 +59,16 @@ int main (void) {
/**/int i;
int coin_string = syntax_define (false, false, "\"", "\"", '\\', colour_red, effect_normal);
int coin_type = syntax_define (false, true, "type", " \t\n", '\0', colour_yellow, effect_normal);
int coin_loop = syntax_define (false, true, "loop", " \t\n(:", '\0', colour_yellow, effect_normal);
int coin_if = syntax_define (false, true, "if", " \t\n(", '\0', colour_yellow, effect_normal);
int coin_else = syntax_define (false, true, "else", " \t\n:", '\0', colour_yellow, effect_normal);
int coin_case = syntax_define (false, true, "case", " \t\n(", '\0', colour_yellow, effect_normal);
int coin_return = syntax_define (false, true, "return", " \t\n(;", '\0', colour_yellow, effect_normal);
int coin_import = syntax_define (false, true, "import", " \t\n", '\0', colour_yellow, effect_normal);
int coin_system = syntax_define (false, true, "system", " \t\n(", '\0', colour_yellow, effect_normal);
int coin_type = syntax_define (false, true, "одреди", " \t\n", '\0', colour_yellow, effect_normal);
int coin_loop = syntax_define (false, true, "понови", " \t\n(:", '\0', colour_yellow, effect_normal);
int coin_if = syntax_define (false, true, "ако", " \t\n(", '\0', colour_yellow, effect_normal);
int coin_else = syntax_define (false, true, "иначе", " \t\n:", '\0', colour_yellow, effect_normal);
int coin_case = syntax_define (false, true, "погоди", " \t\n(", '\0', colour_yellow, effect_normal);
int coin_return = syntax_define (false, true, "врати", " \t\n(;", '\0', colour_yellow, effect_normal);
int coin_import = syntax_define (false, true, "учитај", " \t\n", '\0', colour_yellow, effect_normal);
int coin_system = syntax_define (false, true, "изврши", " \t\n(", '\0', colour_yellow, effect_normal);
int coin_number = syntax_define (true, true, "0123456789", " \t\n,.;:()[]#", '\0', colour_blue, effect_normal);
int coin_marker = syntax_define (true, true, "abcdefghijklmnopqrstuvwxyz_", " \t\n,.;:()[]#", '\0', colour_white, effect_normal);
int coin_marker = syntax_define (true, true, "љњертзуиопшђасдфгхјклчћжџцвбнм_", " \t\n,.;:()[]#", '\0', colour_white, effect_normal);
int coin_symbol = syntax_define (true, false, ",.;:=#[]()+-*/%&|!", "", '\0', colour_cyan, effect_normal);
buffer = record ();