|
|
9e0728f952
|
Fixed some error handling and weird consume logic.
|
2025-09-01 12:58:45 +02:00 |
|
|
|
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 |
|
|
|
4825623c73
|
Merge branch 'main' of git.nbross.com:nielsbross/Ink-Shader-Language
|
2025-08-27 21:55:08 +02:00 |
|
|
|
da87209690
|
Move compile result stuff out of specific stages.
|
2025-08-27 21:55:01 +02:00 |
|
|
|
e0908a67c0
|
Add hint parsing on constant buffers. Not yet used in output.
|
2025-08-25 22:08:58 +02:00 |
|
|
|
ab711b5610
|
Minor experiment
|
2025-08-25 21:56:08 +02:00 |
|
|
|
f6801e3eeb
|
Fix type result on binary compuations.
|
2025-08-24 11:37:16 +02:00 |
|
|
|
4f37ed03c0
|
Remove unnecessary error check in compile_file
|
2025-08-24 11:22:13 +02:00 |
|
|
|
5b2e2e936b
|
Add record error to add file. Change compile_file to take varargs
|
2025-08-24 11:19:59 +02:00 |
|
|
|
b491a56409
|
Changed some naming in sem checker.
|
2025-08-23 22:01:25 +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 |
|
|
|
01ffe9c73d
|
Properly output compiled file instead of intermediate results in semcheck
|
2025-08-20 21:07:14 +02:00 |
|
|
|
382d790c5b
|
Moved more sem result into file. Still feels weird. Whole thing should just be in the file being passed around directly.
|
2025-08-18 22:39:45 +02:00 |
|
|
|
27933e599a
|
New ncore
|
2025-08-18 22:39:25 +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 |
|
|
|
c36712b3ed
|
Merge branch 'main' of git.nbross.com:nielsbross/Ink-Shader-Language
|
2025-08-14 20:11:22 +02:00 |
|
|
|
6b6c7bce62
|
Fixed a bunch of semant back and forth but now it looks like I broke some parameter checking in functions.
|
2025-08-14 14:04:54 +02:00 |
|
|
|
e356c5a3a9
|
Merge branch 'main' of git.nbross.com:nielsbross/Ink-Shader-Language
|
2025-08-13 22:26:57 +02:00 |
|
|
|
5ec2186a42
|
Revert "More work towards the new API"
This reverts commit af3e298b29.
|
2025-08-13 22:26:43 +02:00 |
|
|
|
af3e298b29
|
More work towards the new API
|
2025-08-13 22:22:32 +02:00 |
|
|
|
af42b61ed6
|
Struct output shenanigans
|
2025-01-27 21:38:54 +01:00 |
|
|
|
cd167d1560
|
Add missing codegen for minusequals and etc. Do proper type checking on else blocks. Spread single arg constructors not supported in hlsl.
|
2025-01-23 22:47:09 +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 |
|
|
|
a72a9ff50d
|
More print improvements.
|
2025-01-15 07:15:31 +01:00 |
|
|
|
41d1dd406d
|
Merge branch 'error-lolg'
|
2025-01-14 09:39:09 +01:00 |
|
|
|
bc69a39570
|
Attempt to improved error log.
|
2025-01-14 09:38:05 +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 |
|
|
|
8bd766281e
|
Added shader output data to compiled_file API
|
2025-01-08 22:38:01 +01:00 |
|
|
|
4053400152
|
Added unary expressions to semcheck and codegen.
|
2025-01-08 22:37:48 +01:00 |
|
|
|
1adb289c10
|
Add error propagation to lexer.
|
2025-01-06 22:17:44 +01:00 |
|
|
|
d65c6359db
|
Fixed some sem check init.
|
2025-01-05 22:38:08 +01:00 |
|
|
|
d08529a3eb
|
Simplification of API.
|
2025-01-04 23:12:54 +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 |
|
|
|
e365067354
|
Changed type var children to static array.
|
2024-09-25 13:01:56 +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 |
|
|
|
fca325b761
|
Deleted some stuff
|
2024-09-12 07:18:27 +02:00 |
|
|
|
d3aa4fffeb
|
Quick fix for binary expr codegen. Add uv hint
|
2024-09-11 13:21:03 +02:00 |
|
|
|
6eba51cc8c
|
Fix position output hint.
|
2024-09-11 12:42:59 +02:00 |
|
|
|
5b237d34de
|
Merge branch 'dev' of git.nbross.com:nielsbross/Shader-Compiler into dev
|
2024-09-11 07:25:21 +02:00 |
|