Commit Graph
100 Commits
Author SHA1 Message Date
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
Krzosa Karol a7524a0071 Improve line directive mapping 2022-09-28 20:30:31 +02:00
Krzosa Karol 681b3c1f95 Comments 2022-09-28 17:15:22 +02:00
Krzosa Karol 95400a0929 Update README 2022-09-28 15:57:27 +02:00
Krzosa Karol 9cd190c816 Update example 2022-09-28 15:51:23 +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 83ffc82f79 Automatic closing of examples, revise drawing example 2022-09-28 14:09:20 +02:00
Krzosa Karol 4510f39397 Raymarcher mostly working, need to fix specular still 2022-09-28 13:10:26 +02:00
Krzosa Karol 0050abe190 Fix error where it would show wrong function in error 2022-09-28 10:49:48 +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 e7ae3cffc6 Fix DPI 2022-09-28 09:36:10 +02:00
Krzosa Karol cd7e4fff32 Fix bug where you could pass arbitrary number of arguments, bug was
due probably to forgetting how the algorithm worked and so very trivial
ordering of statements was wrong.
2022-09-27 22:56:07 +02:00
Krzosa Karol f388e3f915 Begin raymarcher example and math module, fixing parsing bugs 2022-09-27 22:42:46 +02:00
Krzosa Karol 7ab1b24bbe We got type sizing, it matches the C compiler for windows struct, we got
a real compiler on our hands
2022-09-27 18:25:58 +02:00
Krzosa Karol 094b10576e Helping out sublime indexing 2022-09-27 15:15:23 +02:00
Krzosa Karol d39686c480 Cosmetic changes 2022-09-27 14:57:10 +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 b743ceb2f4 Arena module 2022-09-27 10:51:18 +02:00
Krzosa Karol b8ab388bfc Change to globals are PascalCase, locals are snake_case 2022-09-27 10:51:12 +02:00
Krzosa Karol 3dd9fae080 Disable constants inside structures 2022-09-27 10:26:33 +02:00
Krzosa Karol fef98220ba Unicode literal to C like character literal 2022-09-27 10:21:19 +02:00
Krzosa Karol 4f51749787 Fixing bugs with strings 2022-09-27 10:12:36 +02:00
Krzosa Karol 5c61e159c7 Remove programs / folder, add windows drawing to screen example 2022-08-28 09:46:53 +02:00
Krzosa Karol ce7dd9a091 Add golang typesystem blog reference 2022-08-26 22:08:20 +02:00
Krzosa Karol a8cbeecfe8 Update README 2022-08-26 21:56:48 +02:00
Krzosa Karol 8739acd52e Update README 2022-08-26 21:55:27 +02:00
Krzosa Karol 03c19ddeaa Rename files 2022-08-26 21:54:02 +02:00
Krzosa Karol 457a9f4301 Rename codegen 2022-08-26 21:51:54 +02:00
Krzosa Karol eb4b1eca38 Remove old files 2022-08-26 21:50:47 +02:00
Krzosa Karol 3857a0b939 Update README 2022-08-26 21:48:30 +02:00
Krzosa Karol 5c9a657700 Update README 2022-08-26 21:47:46 +02:00
Krzosa Karol a12308a9ac Update README 2022-08-05 23:36:57 +02:00
Krzosa Karol dd72fb77c5 Update README 2022-07-29 10:03:54 +02:00
Krzosa Karol 4fa09e2f8a Update README 2022-07-29 10:02:53 +02:00
Krzosa Karol f51fddd479 Fix markdown items 2022-07-28 16:57:25 +02:00
Krzosa Karol be508c0ae9 Add examples, update README 2022-07-28 16:53:54 +02:00
Krzosa Karol eebb7e75e1 Building section 2022-07-28 14:31:12 +02:00
Krzosa Karol d7c8a29664 Add all base sources 2022-07-28 14:29:43 +02:00
Krzosa Karol b55cb50212 UPDATE README 2022-07-28 14:27:16 +02:00
Krzosa Karol 1f9a5fe81d Add README 2022-07-28 14:26:14 +02:00
Krzosa Karol 59a733a22b Silence unused variables warnings 2022-07-28 14:19:48 +02:00
Krzosa Karol ed4eac0285 Language basics 2022-07-28 14:16:42 +02:00
Krzosa Karol 93f984bd96 Order independent declaration example 2022-07-28 14:04:33 +02:00
Krzosa Karol d8fda0ff8c Fix slice indexing in example 2022-07-28 13:35:47 +02:00
Krzosa Karol b806bafb51 Fixing array code generation 2022-07-28 13:29:25 +02:00
Krzosa Karol 78a0f54319 Fixing array examples 2022-07-28 13:20:51 +02:00
Krzosa Karol 4a0234155c Compiling entire folder, working on examples 2022-07-07 21:03:52 +02:00
Krzosa Karol e7c14010f2 Trying out a x64 emitter 2022-06-28 14:26:52 +02:00
Krzosa Karol a363a5e982 Compiling and testing multiple files 2022-06-27 14:01:22 +02:00