66 Commits

Author SHA1 Message Date
398bdc9487 Fixed some errors in the vsl programs 2022-03-17 23:13:55 +01:00
e839190fbf Added strings, and cleaned up 2022-03-17 22:00:38 +01:00
d80961ec56 Start bind_names and declarations 2022-03-17 21:40:41 +01:00
06bca1fa00 Cleaned up ir.c 2022-03-17 21:40:18 +01:00
b56eb1a707 Added print and destroy symbol table, start bind_names 2022-03-16 22:28:17 +01:00
6b87321671 Removed helpers and moved to ir.c 2022-03-16 22:27:42 +01:00
78d4161e4d Added header for helpers 2022-03-16 22:26:25 +01:00
b0f3da6f0d Added default scope stack size 2022-03-16 22:25:32 +01:00
bef1e015f6 Added scanning of global variables 2022-03-15 22:29:45 +01:00
fb6c35523e Added some constant values for sizes 2022-03-15 22:29:29 +01:00
a0c695ef66 Removed unoptimized print 2022-03-15 22:29:14 +01:00
2734cdb176 fixed bug with being to aggressive
- Is now more flexible
- Added resolve constant relations
2022-03-13 20:20:35 +01:00
e29492f7f8 Cleaned up the ir.h 2022-03-13 20:19:53 +01:00
b2ba4768c6 added some constant relations 2022-03-13 20:19:39 +01:00
5d866e48a0 Added a pdf from the year 21 2022-03-13 20:19:29 +01:00
b8255e4e93 added some comments 2022-03-12 19:32:10 +01:00
c45131d029 print out what relation is used 2022-03-12 19:26:50 +01:00
a97b6602a0 fixed bug with being to agressive 2022-03-12 19:26:35 +01:00
fe49453d0a added var to function call 2022-03-12 19:22:14 +01:00
40c9090656 added flags to output 2022-03-12 19:22:05 +01:00
94d83fc59b fixed bug where the simplify is to aggressive 2022-03-12 19:21:53 +01:00
a5f6aaf1fa added my own from ps3 2022-03-12 19:21:38 +01:00
6856407f38 add ignore 2022-03-12 18:09:29 +01:00
4717d45e30 Start PS4 2022-03-12 18:09:07 +01:00
7a3af1c302 Added solution to the problem sets. 2022-03-06 17:21:38 +01:00
202622c44b Added some pdfs 2022-03-06 17:13:26 +01:00
b06406e48a Added yylex_destroy 2022-02-27 19:15:26 +01:00
6b3065fe11 removed comment 2022-02-27 19:15:12 +01:00
9cd417d5da added memory freeing functions 2022-02-27 19:13:53 +01:00
10515c009a Added simplifying methods
- Prune children to remove unneeded nodes
- resolve constant expressions
- Flatten lists
2022-02-27 19:10:39 +01:00
8c85391fb9 Added naming back 2022-02-27 19:08:54 +01:00
db7087c277 Added some numbers to differentiate between the results 2022-02-27 19:08:44 +01:00
a701db4a19 Somewhat working 2022-02-27 16:41:57 +01:00
e8482f39ea Added return of node_init 2022-02-21 13:48:13 +01:00
fa6c6f3849 Fixed issue 2022-02-21 13:45:50 +01:00
e9e67d3f4a Added buildfiles 2022-02-21 12:45:11 +01:00
c61f68540d Init PS3 2022-02-21 12:44:43 +01:00
986228c449 Added code-workspace 2022-02-21 12:44:19 +01:00
e9634ef6b7 Finish ps2 2022-02-21 12:41:33 +01:00
a70bb5d50d Changed to used macro with new function return 2022-02-18 17:10:54 +01:00
32c86018dc Added return value for the node_init
- Can be used as before, but cleaner interface in parser.y
2022-02-18 17:02:44 +01:00
f10d6c459c Added return value for the node_init
- Can be used as before, but cleaner interface in parser.y
2022-02-18 17:01:37 +01:00
42eb417939 Update gitignore 2022-02-18 17:00:12 +01:00
c902edccd5 Added test for groups and precedence 2022-02-14 15:30:01 +01:00
525c2b1f6a Added grouping 2022-02-14 15:29:50 +01:00
a6b535248b Added type define 2022-02-13 19:08:34 +01:00
36afeecae9 Tried fixing complaining from vscode 2022-02-13 19:04:28 +01:00
35fb48f8b8 Added some more data to expression 2022-02-13 18:51:33 +01:00
c8e292bd0a Move comments 2022-02-13 18:37:47 +01:00
23f2148948 Added noassoc to if then and else 2022-02-13 18:34:52 +01:00