Commit Graph

11 Commits

Author SHA1 Message Date
200d01f9ad remove some vestigial packaging stuf; redo this later 2024-06-16 20:12:56 -05:00
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
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