Commit Graph

37 Commits

Author SHA1 Message Date
94fc3a4dad Added basic for i loops. Missing some breaking tests and more tests. Also want to add for each at some point and it_index. 2025-08-30 22:58:51 +02:00
14f8b20d5f More small changes 2025-08-27 22:12:19 +02:00
da87209690 Move compile result stuff out of specific stages. 2025-08-27 21:55:01 +02:00
f6801e3eeb Fix type result on binary compuations. 2025-08-24 11:37:16 +02:00
45f67e16a8 Clean up a little bit of API code. Fix an issue with missing operator. Port random semi complex shader. 2025-08-21 22:22:00 +02:00
b7e34a22b2 Fix error propagation error in parsing. Semantic checker fix for compile result struct. Test cleanup 2025-08-18 07:11:41 +02:00
af42b61ed6 Struct output shenanigans 2025-01-27 21:38:54 +01:00
8ce8651d6b Fix some missing operators not getting parsed properly. Fixed field access type checking with depth more than 1. 2025-01-22 22:30:06 +01:00
42c5baa846 if else if else if if else if else 2025-01-20 22:20:47 +01:00
45ea54cf93 Fixed some error handling for invalid if statements. Started if codegen. 2025-01-18 22:22:16 +01:00
b4d119230b Proper pretty printing and error handling on non-cool if condition. 2025-01-15 21:32:18 +01:00
aaeda22fa3 Added broken check for bool if cond. Also added some wonky if/else pretty printing for AST. 2025-01-13 16:33:03 +01:00
4b927b6be9 Add else parsing. Still a few bugs with output. 2025-01-13 09:14:36 +01:00
85b23f90e5 Function overload check cleanup. Added if statement to parsing. 2025-01-12 22:15:02 +01:00
ec31046d30 Added inferred types and missing length function. 2025-01-10 22:44:15 +01:00
4053400152 Added unary expressions to semcheck and codegen. 2025-01-08 22:37:48 +01:00
7787d1307b More extension bike shedding. 2025-01-01 23:14:30 +01:00
4deb07027f Fix some tests and do some cleanup. 2025-01-01 23:06:53 +01:00
f13508262b Remove dumbass type constraint crap. 2024-12-29 23:39:57 +01:00
90fb1a035e Add Properties prefix. Fix semantic check regression. 2024-09-26 16:47:34 +02:00
243d83663a Simplified shader test output 2024-09-20 13:00:17 +02:00
3f93e1a92d Add double access shader test 2024-09-20 12:48:47 +02:00
ff668b6c95 Fix type checker not promoting ints. Fix some issues in the codegen. 2024-09-11 07:24:50 +02:00
517209c886 A bunch of allocator stuff 2024-09-10 07:21:27 +02:00
d01fca146c Opened pandoras box 2024-09-09 22:32:36 +02:00
c5758bd023 Add array parsing. Missing rest of pipeline. 2024-07-13 11:46:14 +02:00
7a07c32cd2 Fix cbuffer pretty printing. 2024-07-01 08:02:10 +02:00
884444d25b Multiple small fixes
- Foreign functions can now have names for parameters
- Fix property renaming crash
- Properly output texture sampling calls
2024-06-28 08:56:13 +02:00
402d9d67a4 Change typenames. Bug in hlsl builtins 2024-06-26 13:49:39 +02:00
1bf829d42f Fix static array. Add constant buffers. Beginning of textures. 2024-06-26 13:42:13 +02:00
3bbbc1d556 Fix function overload resolution. Add static array not working. 2024-06-25 08:54:02 +02:00
d2614b3ba9 Almost fix function overloading. Return var issues. 2024-06-22 17:03:38 +02:00
781f63cd69 Merge branch 'main' into dev
# Conflicts:
#	Semantic_Analysis.jai
2024-06-20 07:01:38 +02:00
1be5072cbe Try some things to figure out why overload resolution is broken. 2024-06-20 07:00:46 +02:00
a9a67e3fac Add lexing, parsing and some semantic checking for constant buffers. 2024-06-14 19:56:28 +02:00
262f0d632a Fix properties renaming. 2024-06-12 12:31:30 +02:00
b81c0af596 init commit 2024-06-09 21:34:23 +02:00