Commit Graph

41 Commits

Author SHA1 Message Date
07f9a6abd8 I am going insane 2024-06-11 03:55:11 +05:00
9e80de017f Remove debug code 2024-06-11 02:57:01 +05:00
b673f99433 Fix multiple statements 2024-06-11 02:53:49 +05:00
eda259dfbf Add print keyword 2024-06-11 02:51:37 +05:00
542547e174 Add more binary operators 2024-06-11 02:45:45 +05:00
d8bd79e8c9 Some formatting 2024-06-11 02:43:06 +05:00
3b8f14cab0 Compiler does something now 2024-06-11 02:40:36 +05:00
3321ca8e1b Start implementing compiler 2024-06-10 23:27:08 +05:00
24042b3f88 Move some stuff around 2024-06-10 20:24:57 +05:00
f0e6936008 Function parsing 2024-06-10 19:14:53 +05:00
a7aefd33ad A change 2024-06-10 02:22:13 +05:00
b3b68ed586 Fix another memory leak 2024-06-10 02:06:51 +05:00
65e360984d Format code better 2024-06-10 01:58:38 +05:00
3128d3c646 Fix a memory leak 2024-06-10 01:15:19 +05:00
3a3014f9a3 Fix segfault 2024-06-10 00:41:11 +05:00
95862b56d2 Funny C unions 2024-06-10 00:38:22 +05:00
eedecc7b51 A bit of refactoring 2024-06-09 23:50:10 +05:00
743bda0437 Remove a comment 2024-06-09 22:32:25 +05:00
6e1de39a2e Fix a bug that produced a lot of NONEs in the syntaxtree 2024-06-09 22:24:58 +05:00
96acb9df26 Make debug tree a bit better 2024-06-09 21:43:02 +05:00
978dfb7309 Something kind of works now 2024-06-09 21:39:12 +05:00
10f61474be Initialize ptr->next in es_addsymbol 2024-06-05 00:11:06 +05:00
cdc2cbaee2 Add "clean" target in Makefile 2024-06-04 23:35:12 +05:00
e473615eca Remove "struct" keyword whenever possible 2024-06-04 00:12:16 +05:00
6fae121463 Add se_istravesable 2024-06-04 00:06:51 +05:00
7ed5367f20 Remove TOPTREE 2024-06-03 23:55:02 +05:00
9764aff184 Move stuff around 2024-06-03 23:49:56 +05:00
b4243755ef Try (unsuccessfully) to make code a bit more readable 2024-06-03 23:23:57 +05:00
512a86ed48 Check if file was opened successfuly 2024-06-03 23:10:03 +05:00
f44429ce5d Initialize previously uninitialized values 2024-06-03 23:04:30 +05:00
0afd640dcc Fix memory leaks 2024-06-03 23:02:30 +05:00
5392258a0d Print parsed tree on run 2024-06-03 22:27:50 +05:00
4c1f95370c Make parser clean NONEs 2024-06-03 22:20:51 +05:00
fced7e741f Refactor a bit 2024-06-03 21:27:53 +05:00
221d15fbf0 Implement string parsing 2024-06-03 02:39:27 +05:00
7906e6c4a8 Parser sort of works 2024-06-03 01:48:09 +05:00
4d6eff1042 Add CFLAGS variable to the Makefile 2024-06-02 19:21:17 +05:00
680f3c77ab Add "-std=c99" into Makefile 2024-06-02 01:31:53 +05:00
89e2283f4e Add bin/ and .gitignore 2024-06-02 01:27:30 +05:00
0f80fcbd5a Add Makefile and src/ 2024-06-02 01:25:25 +05:00
8ecffafa94 Inital commit 2024-06-02 01:23:25 +05:00