Commit Graph

15 Commits

Author SHA1 Message Date
stupidcomputer 681c77d898 remove timeout-decorator and add pyparsing 2024-06-23 17:16:40 -05:00
stupidcomputer 9f7e15d37b update the readme 2024-06-23 16:55:15 -05:00
stupidcomputer 4aeb99e0e2 add a section on running tests on the project 2024-06-16 20:17:35 -05:00
stupidcomputer e8da284365 add a proper command line interface 2024-06-16 20:12:56 -05:00
stupidcomputer 200d01f9ad remove some vestigial packaging stuf; redo this later 2024-06-16 20:12:56 -05:00
stupidcomputer 38877d36ab add more tests for the ISA; ISA bugfix
added more tests to the ISA -- covers all the instructions except RST
(reset).

fixed a bug in the ISA -- when comparing two numbers, we really compared
their pointers. in C, it's the difference between

```
int a = 10;
int b = 12;

int *ap = &a;
int *bp = &b;

if (ap < bp) { /* do stuff */ }
```

the problem is that you're comparing the pointers, *not* the values they
refer to. it instead should be like

if (*ap < *bp) { /* do stuff */ }

because you need to *dereference* the value before comparing. that's
what happens in cli/data/computer.py now.
2024-06-16 20:12:49 -05:00
stupidcomputer 6a038fcdde massive project restructure
relocated everything in its own module, `cli`, and split the server code
such that it's more component based, if you will

also, added a working test suite, which is somewhat exciting.
2024-06-16 18:18:28 -05:00
randomuser b7c983d3d6 add a LICENSE and update the README 2024-03-24 19:38:33 -05:00
randomuser 49e2df75ca temp commit 1; needs to be merged 2024-03-24 18:50:55 -05:00
randomuser 7c4e3738ee Merge branch 'main' of https://git.beepboop.systems/rndusr/desmos-computer 2024-02-01 17:11:12 -06:00
randomuser c93b0b493b make the isa transpiler into a module
there's some other stuff as well
2024-02-01 17:00:28 -06:00
randomuser 4a45350638 add better console.log messages 2023-12-12 11:06:54 -06:00
randomuser badb755812 port over the entire computer into computer.desmos 2023-11-15 20:01:35 -06:00
randomuser d0ea507968 add main files used before version control 2023-11-14 22:33:34 -06:00
randomuser 57ae4726dc initial commit 2023-11-14 22:32:51 -06:00