small
This commit is contained in:
parent
5becfbd0ce
commit
3fce97aa4a
1
.gitignore
vendored
1
.gitignore
vendored
@ -50,3 +50,4 @@ modules.order
|
||||
Module.symvers
|
||||
Mkfile.old
|
||||
dkms.conf
|
||||
src/logic
|
||||
|
@ -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
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user