This commit is contained in:
starcells committed 2026-06-12 08:28:47 +08:00
1 parent 9fd51c919f
commit f29a644419
4 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
#include <stdint.h>
#define MEM_SIZE 256
#define INS_SIZE 16384
#define INS_SIZE 65536
typedef uint8_t rot8_data;
typedef uint8_t rot8_loop_depth;
+1 -1
View File
@@ -1 +1 @@
>>>>>>-++-+-+++++>>-+-+-++++++<<<<>>>[-]+[-]+[-]+[-]+[-]+[-]+[-]+[-]+<<<[-]+[-]+[-]+[-]+[-]+[-]+[-]+[-]+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>>[>[-]-<<<[-]->>-]+>+<<<+>><<[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+[>>[-]-<<-]>>+<<+>>>>>[-]+[-]+[-]+[-]+[-]+[-]+[-]+[-]+<<<<<[-]+[-]+[-]+[-]+[-]+[-]+[-]+[-]+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>>[>[-]-<<<<<[-]->>>>-]+>+<<<<<+>>>><<<<[>>>>[-]-<<<<-]>>>>+<<<<+[>>>>[-]-<<<<-]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<<+[-]>>>[<<<[-]->>>[-]]>>[<<<<<[-]->>>>>[-]]<<+>>+<<<<<+[-]>>>[<<<[-]->>>[-]]>>[<<<<<[-]->>>>>[-]]<<+>>+<<<<<+[-]>>>[<<<[-]->>>[-]]>>[<<<<<[-]->>>>>[-]]<<+>>+<<<<<+[-]>>>[<<<[-]->>>[-]]>>[<<<<<[-]->>>>>[-]]<<+>>+<<<<<+>>>>><<<<<>>.>>.<<<<.
+1 -3
View File
@@ -1,4 +1,3 @@
#include <stdlib.h>
#include <string.h>
#include "rot8/rot8.h"
@@ -6,9 +5,8 @@
int main(int argc, char **argv) {
(void)argc;
char *ins = (char *)malloc(sizeof(char) * INS_SIZE);
char ins[INS_SIZE];
read_tape(argv[1], ins);
run(ins, strlen(ins));
free(ins);
return (0);
}