Add: brainfuck interpreter; documentation; uptime

This commit is contained in:
xamidev
2024-08-06 15:29:13 +02:00
parent fc17e5eade
commit 98b79d7fcf
10 changed files with 156 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ void shell_install()
}
else if (strcmp(input_buffer, "help") == 0)
{
printf("help\tpanic\twords\tprimes\trainbow\tclear\nmath\n");
printf("help\tpanic\twords\tprimes\trainbow\tclear\nmath\tbf\tuptime\n");
}
else if (strcmp(input_buffer, "panic") == 0)
{
@@ -47,6 +47,14 @@ void shell_install()
{
program_math();
}
else if (strcmp(input_buffer, "bf") == 0)
{
program_bf();
}
else if (strcmp(input_buffer, "uptime") == 0)
{
program_uptime();
}
else {
printf("Unknown command %s\n", input_buffer);
}