Commit Graph

40 Commits

Author SHA1 Message Date
Krzosa Karol
0029e0688b Fix type incomplete of argument in away procedure that has a pointer to
that that is never used outside of procedure definition. We emit void.
2023-02-09 14:41:02 +01:00
Krzosa Karol
7370e8b716 Using arena as token array, remove arenas idea 2023-02-09 12:36:36 +01:00
Krzosa Karol
1121e4aa84 Expose time stats 2023-01-01 19:59:27 +01:00
Krzosa Karol
d6a5df8d95 Cleanup iterators 2023-01-01 17:44:27 +01:00
Krzosa Karol
d120d05eee Move types to Core_Ctx 2023-01-01 16:27:42 +01:00
Krzosa Karol
647958b72d Getting rid of globals 2023-01-01 14:17:37 +01:00
Krzosa Karol
c5539276ae Working on simplifying configurable allocation scheme 2023-01-01 12:40:58 +01:00
Karol Krzosa (Nokia)
d75c54f61f Modifying the class hierarchy and removing globals, allocators, simplifying 2022-12-31 20:10:11 +01:00
Krzosa Karol
673db72e29 Misc changes 2022-12-31 14:16:46 +01:00
Krzosa Karol
e07ad3c86d Module changes, found Type_Incomplete error 2022-10-14 17:20:46 +02:00
Krzosa Karol
2c53693754 CORE_Static 2022-10-11 13:04:35 +02:00
Krzosa Karol
2f153a7cd3 Replacing core allocation stuff, still need to rewrite map and token
structures
2022-10-10 00:05:38 +02:00
Krzosa Karol
13f2f20ea6 Any semantics, lvalue allocates on stack 2022-10-09 23:42:02 +02:00
Krzosa Karol
54426fdd69 F32 is default float, operator overloads turn literals into default types 2022-10-09 14:51:27 +02:00
Krzosa Karol
ee6f8114ee Ported to Linux! 2022-10-09 12:23:38 +02:00
Krzosa Karol
b22e1ac0db Removing heap allocations, Porting to Unix 2022-10-09 10:34:23 +02:00
Krzosa Karol
15e4ebd682 Added conditional compilation and Const namespace with OS name 2022-10-08 10:02:50 +02:00
Krzosa Karol
ed0b32eb3e Fixing type bugs 2022-10-04 20:03:37 +02:00
Krzosa Karol
e23eaf1394 Improved any support, removed C Var args 2022-10-04 14:15:22 +02:00
Krzosa Karol
b10f3840df Single header mode sort of working 2022-10-02 13:40:04 +02:00
Krzosa Karol
e098663d82 Improving multimedia, trying to add a single c library mode 2022-10-02 12:53:29 +02:00
Krzosa Karol
4451553e85 Fixing line directive codegen for ifs, handling vkey codes 2022-10-01 22:40:13 +02:00
Krzosa Karol
84254fb6dc Get rid of memcopies in codegen, improve Multimedia 2022-10-01 22:07:20 +02:00
Krzosa Karol
c85f16f673 Codegen change, remove typedefs, use standard 2022-10-01 16:42:03 +02:00
Krzosa Karol
0646ae9279 Var args sort of working, but I feel like all this stuff will need to get yanked out
or tested and refactored
2022-09-30 22:33:47 +02:00
Krzosa Karol
233115cf2c File naming convention change 2022-09-30 16:20:28 +02:00
Krzosa Karol
b1d05bc203 Codegen multiple line strings 2022-09-30 16:05:19 +02:00
Krzosa Karol
91b7b8090f More code to List 2022-09-30 09:56:12 +02:00
Krzosa Karol
0a7fe8caad Moving more code to list 2022-09-30 09:52:54 +02:00
Krzosa Karol
37489b2730 Operator overloads for unary expressions 2022-09-29 17:36:15 +02:00
Krzosa Karol
66b2be3550 Delete code, adjust example to operator overload errors 2022-09-29 17:05:45 +02:00
Krzosa Karol
9e06b631d5 Operators initially working! Problems with untyped literals 2022-09-29 15:24:49 +02:00
Krzosa Karol
a7524a0071 Improve line directive mapping 2022-09-28 20:30:31 +02:00
Krzosa Karol
aa1da4e926 Functions have unique names now unless they are foreign, probably will
need a keyword to not mangle the names.
2022-09-28 14:55:56 +02:00
Krzosa Karol
1fa5e1a26b Fix wrong type on Type type, heh 2022-09-28 09:58:21 +02:00
Krzosa Karol
313e14b300 Generating proper C postfixes for types 2022-09-28 09:56:18 +02:00
Krzosa Karol
dda2252ca2 length_of align_of size_of are no longer operators but function calls 2022-09-27 13:50:30 +02:00
Krzosa Karol
60f794580c Fixing bugs, constraining syntax 2022-09-27 11:30:16 +02:00
Krzosa Karol
4f51749787 Fixing bugs with strings 2022-09-27 10:12:36 +02:00
Krzosa Karol
03c19ddeaa Rename files 2022-08-26 21:54:02 +02:00