|
|
940b58331d
|
A bunch of array fixes and some buffer stuff that doesn't quite work yet
|
2025-09-24 14:04:50 +02:00 |
|
|
|
50a404984d
|
Started some fixes for array support. Not entirely there yet.
|
2025-09-17 21:37:53 +02:00 |
|
|
|
89904824bb
|
Fixed test to fully deprecate properties.
|
2025-09-17 12:33:38 +02:00 |
|
|
|
94daf81a85
|
Merge branch 'main' of git.nbross.com:nielsbross/Ink-Shader-Language
# Conflicts:
# AST.jai
# Check.jai
# module.jai
|
2025-09-17 12:32:47 +02:00 |
|
|
|
607a6a0bed
|
Deprecate properties. Use hinted cbuffers instead. This opens up to use a structured buffer in that way as well if you want instead.
|
2025-09-17 12:31:37 +02:00 |
|
|
|
8b2141df16
|
Fix some if directive stuff. Fix a property output issue. Will be deprecated next commit anyway.
|
2025-09-17 12:30:36 +02:00 |
|
|
|
7fefe0ecf6
|
Ifdefs, moved semantic to check, fixed error reporting for builtins
|
2025-09-16 11:04:57 +02:00 |
|
|
|
f99f86bc37
|
Update readme
|
2025-09-14 20:21:43 +02:00 |
|
|
|
d5476b54d7
|
Fix tests.
|
2025-09-13 22:02:44 +02:00 |
|
|
|
622ce388fa
|
Actually fix which allocator we're using in the tests.
|
2025-09-13 22:01:29 +02:00 |
|
|
|
b0653b6563
|
Tracy
|
2025-09-11 17:29:45 +02:00 |
|
|
|
d6ea2e4c2f
|
Memory optimization for the general case by reserving significantly fewer tokens in lexer. It was reserving 1 million always!
|
2025-09-11 12:27:44 +02:00 |
|
|
|
361a310ed1
|
Actually pass the allocator in so it's used instead of temp.
|
2025-09-11 11:33:16 +02:00 |
|
|
|
78e6d6146e
|
Remove compiler ctx allocator
|
2025-09-11 11:23:07 +02:00 |
|
|
|
79ec6cc42f
|
Added the rest of current builtins. Started properly implementing compile tests.
|
2025-09-11 11:03:02 +02:00 |
|
|
|
9461fe626f
|
Change result to context for clarity. Fix a bunch of stuff in builtin functions and structs.
|
2025-09-10 23:21:34 +02:00 |
|
|
|
ceafd197f5
|
A bunch of new allocation related stuff.
|
2025-09-10 06:59:29 +02:00 |
|
|
|
f4a9592f26
|
Much better allocation strategy with new ncore arenas. Add more builtin node gen stuff. It's kind of wonky.
|
2025-09-06 23:30:45 +02:00 |
|
|
|
9cf51a1534
|
Broke builtins.
|
2025-09-06 19:58:46 +02:00 |
|
|
|
11c936ba7f
|
Started load directive.
|
2025-09-03 22:31:18 +02:00 |
|
|
|
4924b01eac
|
Added some initial directive code. Don't quite like the way it's done
|
2025-09-03 21:05:00 +02:00 |
|
|
|
603b625e21
|
Rename of files, improved for handling, add cb hints
- Rename Test to Ink as main file
- Support more errors for for loops.
- Add hints to cbs
|
2025-09-02 11:55:27 +02:00 |
|
|
|
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 |
|