Commit Graph
100 Commits
Author SHA1 Message Date
Krzosa Karol 23db7cc5c4 Add Core compiler interface 2022-12-31 14:47:47 +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 a60df75cc3 Rename Windows.core 2022-10-14 07:07:06 +02:00
Krzosa Karol 62aaffdb83 Working on modules finding bugs 2022-10-14 07:06:55 +02:00
Krzosa Karol 16a2fe659e Misc changes 2022-10-13 20:46:03 +02:00
Krzosa Karol 022f874c32 Working on math libraries 2022-10-13 12:33:16 +02:00
Krzosa Karol 6e8acf7dc8 Adding missed compiler errors, some work on modules 2022-10-13 11:43:15 +02:00
Krzosa Karol de0d2181f5 Libc module 2022-10-13 08:19:00 +02:00
Krzosa Karol f50e7b5250 Errors work better with sublime 2022-10-13 08:18:50 +02:00
Krzosa Karol ce6c2a33b5 Fix sublime_text build command not working with compiler due to
terminal sequences
2022-10-13 08:01:16 +02:00
Krzosa Karol 7be9a9ef0e Fix assignment type resolution 2022-10-11 14:20:35 +02:00
Krzosa Karol 061d662f81 Fix reference to literal 2022-10-11 13:44:29 +02: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 977a62d5ae Update README 2022-10-10 22:26:26 +02:00
Krzosa Karol 7df42bf79b Update README 2022-10-10 22:23:20 +02:00
Krzosa Karol 38ee15bb44 Update README 2022-10-10 12:32:20 +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 13f2f20ea6 Any semantics, lvalue allocates on stack 2022-10-09 23:42:02 +02:00
Krzosa Karol 9ad2da03c8 Load is file relative not module relative 2022-10-09 15:20:53 +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 21ac6662c4 Dynamic typing example 2022-10-09 14:17:48 +02:00
Krzosa Karol 926e460f4a Update README 2022-10-09 14:12:32 +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 0637a32655 Somehow we compiling and not crashing 2022-10-09 11:05:03 +02:00
Krzosa Karol ed7267a8c8 OS.h 2022-10-09 10:47:38 +02:00
Krzosa Karol fb6c89f845 Down to one compile error 2022-10-09 10:47:33 +02:00
Krzosa Karol 8ad8e72b3a Getting rid of heap stuff completely but also naively 2022-10-09 10:45:36 +02:00
Krzosa Karol 829de11987 Porting to Unix 2022-10-09 10:34:36 +02:00
Krzosa Karol b22e1ac0db Removing heap allocations, Porting to Unix 2022-10-09 10:34:23 +02:00
Krzosa Karol aa2b4d90e4 Update README 2022-10-09 09:16:26 +02:00
Krzosa Karol 9b06c2548e Update readme 2022-10-08 10:16:02 +02:00
Krzosa Karol 15e4ebd682 Added conditional compilation and Const namespace with OS name 2022-10-08 10:02:50 +02:00
Krzosa Karol ed98572547 Update todo 2022-10-06 14:27:29 +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 8395969620 Typing the untyped values in an array of Any, commenting stuff 2022-10-05 20:54:38 +02:00
Krzosa Karol 6f04eb86b2 Working on format string 2022-10-04 20:32:17 +02:00
Krzosa Karol ed0b32eb3e Fixing type bugs 2022-10-04 20:03:37 +02:00
Krzosa Karol fb3226a059 Working on print 2022-10-04 17:02:22 +02:00
Krzosa Karol e23eaf1394 Improved any support, removed C Var args 2022-10-04 14:15:22 +02:00
Krzosa Karol 3c172233f6 Small changes fixing stuff 2022-10-04 11:42:16 +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 5baff3585e Drawing to screen using multimedia 2022-10-01 22:47:20 +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 026c1ddc80 Add windows utilities 2022-10-01 19:59:45 +02:00
Krzosa Karol d866ebb231 Working on multimedia 2022-10-01 17:07:36 +02:00
Krzosa Karol c85f16f673 Codegen change, remove typedefs, use standard 2022-10-01 16:42:03 +02:00
Krzosa Karol 3623ecce00 Multimedia 2022-10-01 14:31:52 +02:00
Krzosa Karol 1473204860 Constant expressions 2022-10-01 14:31:46 +02:00
Krzosa Karol df291c6eb5 Lambdas are now const while resolving, Aliasing lambdas 2022-10-01 14:21:24 +02:00
Krzosa Karol 02addfb389 Simplify drawing to screen example 2022-10-01 09:29:09 +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 4c6497c5d6 Cleanup 2022-09-30 20:07:24 +02:00
Krzosa Karol 6cd0596fd5 Field access now works, somehow! It was easier then I thought,
probably introduced a bunch of bugs though
2022-09-30 19:58:47 +02:00
Krzosa Karol 32fbacff6d Updating README 2022-09-30 16:58:20 +02:00
Krzosa Karol ecf4ee8d8a Testing 2022-09-30 16:49:32 +02:00
Krzosa Karol 2e8af0fecd Testing 2022-09-30 16:49:00 +02:00
Krzosa Karol 2cd3b8c3a6 Testing 2022-09-30 16:48:23 +02:00
Krzosa Karol 8abba84cf5 Testing 2022-09-30 16:47:56 +02:00
Krzosa Karol 1e1f39bd6e Testing 2022-09-30 16:47:31 +02:00
Krzosa Karol de7d109f00 Testing 2022-09-30 16:47:00 +02:00
Krzosa Karol 0d2a95ab89 Update README 2022-09-30 16:43:11 +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 b1d05bc203 Codegen multiple line strings 2022-09-30 16:05:19 +02:00
Krzosa Karol b17027f431 Massaging error messages 2022-09-30 13:41:22 +02:00
Krzosa Karol 2796ef4bb5 Generated 2022-09-30 13:36:55 +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 ff7a30b806 More code generation 2022-09-29 19:20:55 +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 256eaf8640 Change ordering of tokens 2022-09-29 18:40:33 +02:00
Krzosa Karol ab19ebc992 Changing rules of operator overload lookup 2022-09-29 20:15:44 +02:00
Krzosa Karol 37489b2730 Operator overloads for unary expressions 2022-09-29 17:36:15 +02:00
Krzosa Karol 9ee22abbd2 Misc 2022-09-29 17:10:56 +02:00
Krzosa Karol 66b2be3550 Delete code, adjust example to operator overload errors 2022-09-29 17:05:45 +02:00
Krzosa Karol 5cb5f12cda Operator overloading test 2022-09-29 15:24:56 +02:00
Krzosa Karol 9e06b631d5 Operators initially working! Problems with untyped literals 2022-09-29 15:24:49 +02:00
Krzosa Karol 9bb7b0dc96 Operator overload found! 2022-09-29 14:50:48 +02:00
Krzosa Karol 27ed000800 Resolving operator overloads functions 2022-09-29 14:27:37 +02:00
Krzosa Karol 7ce3871a9e Parsing operator overloads 2022-09-29 14:16:44 +02:00
Krzosa Karol a447d66015 Restructuring 2022-09-29 13:21:04 +02:00
Krzosa Karol 7cc01be358 Restructuring 2022-09-29 13:02:40 +02:00
Krzosa Karol 65924967aa Restructuring 2022-09-29 13:02:32 +02:00
Krzosa Karol cbf6ca8480 Restructuring 2022-09-29 12:41:04 +02:00
Krzosa Karol 5f11a11f0f Change the decl searching api while figuring out how to implement
function overloading
2022-09-29 12:04:21 +02:00