Commit Graph

16 Commits

Author SHA1 Message Date
SeanOMik 76a1c98abd
Fix parsing workgroup vars, some fn attributes, and unique blocks 2024-11-24 16:32:25 -05:00
SeanOMik 70daf32082
Fix many many problems that led to invalid shader code output for lyra engine 2024-09-14 20:03:37 -04:00
SeanOMik b832c5249e
Import type aliases 2024-08-30 19:34:01 -04:00
SeanOMik a9b0eb6abf
Struct importing 2024-08-19 20:27:40 -04:00
SeanOMik b570c7789d
Start work on struct imports 2024-08-14 16:27:33 -04:00
SeanOMik 9d4c05b925
Implement importing bindings 2024-08-11 10:34:20 -04:00
SeanOMik 463700482f
Remove unused code 2024-08-09 15:14:34 -04:00
SeanOMik c7529b82b7
Convert the crate to a library crate 2024-08-09 15:12:01 -04:00
SeanOMik 40b9581b46 add tests, fix removing comments 2024-08-09 12:40:45 -04:00
SeanOMik 7940cbdba9 remove comments from modules before parsing, use tracing for logging 2024-08-09 12:40:45 -04:00
SeanOMik e85adce6e3 output includes recursively, find dependencies of imported functions and output those as well 2024-08-09 12:40:45 -04:00
SeanOMik 5ee537763f output per-item imports from single-level imports 2024-08-09 12:40:45 -04:00
SeanOMik 6e4efa973b parse imports of individual variables and functions as well as modules 2024-08-09 12:40:45 -04:00
SeanOMik a3a06e541a parse external usages of variables and functions 2024-08-09 12:40:45 -04:00
SeanOMik d13c7ae129 use rust like module names for shader imports 2024-08-09 12:40:45 -04:00
SeanOMik 3d49dad921 super simple includes using a pest parser 2024-08-09 12:40:45 -04:00