diff --git a/.gitignore b/.gitignore index c6127b3..5ee7812 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ modules.order Module.symvers Mkfile.old dkms.conf +src/logic diff --git a/src/build.sh b/src/build.sh index a241403..5291716 100644 --- a/src/build.sh +++ b/src/build.sh @@ -1,4 +1,4 @@ echo "BUILDING LOGIC" -clang ./logic.c ./logic_symb.c ./logic_run.c ./logic_ops.c ./logic_karn.c -o ./logic +clang ./logic.c ./logic_symb.c ./logic_run.c ./logic_ops.c ./logic_karn.c -o ./logic.elf echo "LOGIC HAS BEEN BUILT - NOW WE GONNA RUN IT" ./logic \ No newline at end of file diff --git a/src/logic.c b/src/logic.c index ab4eb57..9de351b 100644 --- a/src/logic.c +++ b/src/logic.c @@ -7,9 +7,9 @@ int main(int argc, char** argv) { int x, y; - char d[] = "(Bo((-A^-C)o(A^C)))v(A^B^C)"; + char d[] = "((Bo((-A^-C)o(A^C)))v(A^B^C))^((DvA)o(-D^C))"; - bool* c = logic_karn_run(d, 3, &x, &y); + bool* c = logic_karn_run(d, 4, &x, &y); logic_karn_render(c, x, y); return 0;