|
|
17615c62a9
|
wrote a test program for inheritance
|
2026-05-10 18:55:40 +10:00 |
|
|
|
4ae73b4474
|
added command line args to cometc
|
2026-05-05 18:58:52 +10:00 |
|
|
|
be86dd750d
|
added a tests folder
|
2026-05-05 16:28:22 +10:00 |
|
|
|
f524001c9f
|
only just realised i fixed structs inside structs lmao
|
2026-05-05 14:29:29 +10:00 |
|
|
|
02ac125ef2
|
tryna fix bugs but it aint really working, i'll fix it later ig
|
2026-05-05 07:42:29 +10:00 |
|
|
|
d3b1d3a3ac
|
struct inside struct access works i think
|
2026-05-05 06:56:40 +10:00 |
|
|
|
6d577a0e5b
|
add check to make sure enough args are passed to functions
|
2026-05-04 20:53:49 +10:00 |
|
|
|
0836495cd4
|
ensure number of args passed to constructor is correct
|
2026-05-04 20:47:36 +10:00 |
|
|
|
19fb905bc0
|
added inline functions
|
2026-05-04 20:14:51 +10:00 |
|
|
|
881f127c17
|
cast
|
2026-05-04 19:56:39 +10:00 |
|
|
|
be71e2eaac
|
small bug fix, still tryna figure out nested structs
|
2026-05-04 19:27:13 +10:00 |
|
|
|
85edada2c0
|
THE STRUCT COMPIELD
|
2026-05-04 17:38:04 +10:00 |
|
|
|
9430514c3a
|
assignment of struct fields is completely fucked
|
2026-05-03 20:39:33 +10:00 |
|
|
|
cabdc58bb3
|
constructors working
|
2026-05-03 12:24:08 +10:00 |
|
|
|
52933d0011
|
parse new statements
|
2026-05-03 08:38:38 +10:00 |
|
|
|
e955b39515
|
added some new logic to the parser so structs can be used as types
|
2026-05-03 07:20:38 +10:00 |
|
|
|
d55bf0ef50
|
bug with printing structs fixed
|
2026-05-02 22:12:22 +10:00 |
|
|
|
c754176e41
|
made the compiler support variables with no value
|
2026-05-02 22:07:15 +10:00 |
|
|
|
d9aaefe7bd
|
change the way reassignment works to support the dot operator
|
2026-05-02 22:03:09 +10:00 |
|
|
|
1e1d616793
|
added dot operator
|
2026-05-02 21:37:37 +10:00 |
|
|
|
81e2abc5c5
|
print constructor
|
2026-05-02 20:59:10 +10:00 |
|
|
|
98a26d2a41
|
parse constructor def
|
2026-05-02 20:51:08 +10:00 |
|
|
|
92c376757b
|
parse struct fields
|
2026-05-02 20:39:35 +10:00 |
|
|
|
78eb02d189
|
automatic promotion for ints in infix expressions
|
2026-05-02 13:34:37 +10:00 |
|
|
|
9eaeaf7fbf
|
removed testing files
|
2026-05-02 13:09:58 +10:00 |
|
|
|
0d061a81d5
|
added implicit casts for return types and variable types
just ints for now, will add floats later
|
2026-05-02 13:07:10 +10:00 |
|
|
|
27c14e0edd
|
printf works :D
|
2026-05-02 11:35:50 +10:00 |
|
|
|
fb5abf9ee0
|
added strings
|
2026-05-02 11:18:21 +10:00 |
|
|
|
1dd172682b
|
for loops working!
|
2026-05-02 10:30:05 +10:00 |
|
|
|
035a7a19fe
|
started work on for loops and fixed bug in parser
|
2026-05-02 10:02:40 +10:00 |
|
|
|
072740bf51
|
while loops working
|
2026-05-02 09:31:27 +10:00 |
|
|
|
21e2b97f62
|
IF STATEMENTS WORK
|
2026-05-02 08:34:04 +10:00 |
|