Commit Graph

56 Commits

Author SHA1 Message Date
Krzosa Karol
6f8a7ba6c8 Fix arrays in tuples error in C gen. Better api for getting unique name. 2023-02-10 09:04:27 +01:00
Krzosa Karol
d41da94c80 Add string as struct, Fix void pointer indexing
compound for String is not working but maybe that's fine
2023-02-09 20:17:48 +01:00
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
5138ba0097 Misc changes 2023-01-01 20:08:07 +01:00
Krzosa Karol
1121e4aa84 Expose time stats 2023-01-01 19:59:27 +01:00
Krzosa Karol
aa994c999a Get rid of clib in big int, introduce message api, add stringify message 2023-01-01 19:51:35 +01:00
Krzosa Karol
ec66f02e46 Cleanup iterators, remove logging, add message queue 2023-01-01 19:18:42 +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
d441abcddb Move operator infos to Core_Ctx 2023-01-01 16:14:47 +01:00
Krzosa Karol
34928e3977 Move interns into Core_Ctx 2023-01-01 14:23:59 +01:00
Krzosa Karol
647958b72d Getting rid of globals 2023-01-01 14:17:37 +01:00
Krzosa Karol
c238e5ba46 Organization cleanup, stage arena to Scratch_Arena 2023-01-01 13:15:20 +01:00
Krzosa Karol
39f46900b2 Cleanup includes, remove stdio.h from base 2023-01-01 12:58:57 +01:00
Krzosa Karol
c5539276ae Working on simplifying configurable allocation scheme 2023-01-01 12:40:58 +01:00
Krzosa Karol
8c0a8bf72b Working on simplifying the allocation scheme 2023-01-01 10:48:06 +01:00
Krzosa Karol
d5179bb596 Small allocator changes, fix crash 2022-12-31 21:05:13 +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
ffd6bc5d23 Remove pernament arena 2022-12-31 18:02:48 +01:00
Krzosa Karol
55515ff420 Introduce the allocator stuff again 2022-12-31 16:51:01 +01:00
Krzosa Karol
673db72e29 Misc changes 2022-12-31 14:16:46 +01:00
Krzosa Karol
7b7877a0d0 Random clang format tests 2022-10-11 13:16:01 +02:00
Krzosa Karol
2c53693754 CORE_Static 2022-10-11 13:04:35 +02:00
Krzosa Karol
e37bf8b1bc Add TypeOf operator 2022-10-11 11:13:07 +02:00
Krzosa Karol
4004b8b8d3 Fixed leaky imports, modified log stuff 2022-10-11 10:20:18 +02:00
Krzosa Karol
7aa0ba56b6 Remove Allocator stuff 2022-10-10 10:22:04 +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
9ad2da03c8 Load is file relative not module relative 2022-10-09 15:20:53 +02:00
Krzosa Karol
0049b39e17 link directive 2022-10-09 14:00:41 +02:00
Krzosa Karol
faec89beae Update readme todo 2022-10-09 12:26:05 +02:00
Krzosa Karol
ee6f8114ee Ported to Linux! 2022-10-09 12:23:38 +02:00
Krzosa Karol
8ad8e72b3a Getting rid of heap stuff completely but also naively 2022-10-09 10:45:36 +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
0010b92ef1 Load cannot be namespaced anymore due to weird namespace behaviour that this creates.
I need to add a way to import but force evaluation of everything in the future to make
that up.
2022-10-06 14:24:29 +02:00
Krzosa Karol
3c172233f6 Small changes fixing stuff 2022-10-04 11:42:16 +02:00
Krzosa Karol
a6f6147df3 Damn I didn't even know this language could do that, I guess an issue
with namespacing fixed itself
2022-09-30 16:36:55 +02:00
Krzosa Karol
233115cf2c File naming convention change 2022-09-30 16:20:28 +02:00
Krzosa Karol
4ca3ab95df Bulletproofing operator overloads using generated data 2022-09-30 13:36:48 +02:00
Krzosa Karol
62faf8a78c Less heap more List 2022-09-30 12:33:58 +02:00
Krzosa Karol
35c395caf9 Replace heap for string builders, not sure why they were heap based 2022-09-30 12:27:08 +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
cf619c2ea3 Introducing List and changes in base 2022-09-30 09:40:56 +02:00
Krzosa Karol
5e149dfca3 More generation from meta data 2022-09-30 09:16:53 +02:00
Krzosa Karol
e46d936c38 Meta generated data working 2022-09-29 19:17:53 +02:00
Krzosa Karol
3601e83032 Generating meta data 2022-09-29 19:14:42 +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