34 Commits

Author SHA1 Message Date
0c6cf984c9 merge instructions 2024-05-13 10:26:13 +02:00
f2204df7d7 auto remove unreachable instructions when executing ram machine 2024-05-05 21:35:37 +02:00
5169952816 README assembly 2024-04-11 22:22:15 +02:00
b474e6596f pushdown automaton part in README 2024-04-11 22:00:08 +02:00
3eea4b0199 tar+zip in makefile, LICENSE update 2024-04-11 18:40:11 +02:00
d99a77f5c7 cleaner Makefile, separate dir for build and target 2024-04-11 17:14:27 +02:00
38813b42f2 print each step format 2024-04-10 22:16:41 +02:00
0e8d507e36 pushdowm automaton assembly working 2024-04-09 20:32:07 +02:00
a771db2ef8 fix stack assembly 2024-04-09 20:23:10 +02:00
899ee54064 fix stack top address 2024-04-09 18:55:24 +02:00
fa92ee4364 fix in assembly file 2024-04-09 18:27:06 +02:00
cd1d6382fd stack automaton assembly 2024-04-09 18:06:07 +02:00
ccee47ca5e grammar, allow multiple linebreaks between instructions + more work on stack.asm 2024-04-08 22:15:46 +02:00
b179cdf7ec begin RAM, pushdown automaton 2024-04-05 10:53:00 +02:00
9260d34ae4 comments 2024-04-05 09:37:11 +02:00
5f5ce35a08 generate dependency graph and remove dead instructions 2024-03-30 22:42:03 +01:00
39c5e930ca bubble sort + fixed issue when writing to reference in ram.py 2024-03-29 22:54:02 +01:00
8b192bf02e fixed register ref in grammar 2024-03-29 22:35:48 +01:00
d8ed110400 naming pattern .asm instead of .1 for assembly files 2024-03-28 13:22:39 +01:00
bcb627f2b4 handle comments in assembly source file 2024-03-28 13:16:41 +01:00
ee34fc8d14 syntax fix + assembly calculate a^b 2024-03-28 12:55:16 +01:00
2440c7af7b gitignore 2024-03-28 12:26:18 +01:00
af82eb5b00 generate machine.py file 2024-03-28 12:23:16 +01:00
fa70beb1a4 yylval, strdup instead of pointer on str 2024-03-28 12:06:08 +01:00
8f722d7896 fixed some rules + Makefile 2024-03-27 19:37:17 +01:00
dff4dfd0e3 grammar new rules 2024-03-26 22:45:55 +01:00
4ba1dbb9d4 flex + bison 2024-03-25 13:37:10 +01:00
2a3907eef7 unpack arguments 2024-03-25 12:19:58 +01:00
5ced180990 syntax typo 2024-03-25 09:14:34 +01:00
a0096369c2 op 2024-03-25 09:13:05 +01:00
b36389841f handle value type write 2024-03-24 22:29:26 +01:00
e3a803469c read write register 2024-03-24 22:21:49 +01:00
ae5b003eb3 gitignore 2024-03-24 14:56:36 +01:00
0dba787835 Initial commit 2024-03-08 22:42:40 +01:00