modularize

This commit is contained in:
mtgmonkey
2025-12-25 15:03:06 +01:00
parent 38c7580cc4
commit f836081564
10 changed files with 558 additions and 416 deletions

View File

@@ -12,7 +12,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
## [0.2.0] - 2025-12-25
### Added
- 100% documentation coverage
- `haskellPackages.hlint` in `flake.nix` dev shell
- `README.md`
### Changed
- split into the following modules
- `GLSL`
- `GLSL.Compile`
- `GLSL.Internal`
- `GLSL.Internal.Compile`
- only the former 2 have type-safe gurantees for generated code
- most projects should only import the former 2
- see sample in `Main.hs`
### Fixed
- issue where user was expected to correctly type variable declarations
- user must now only use the correct constructor
- old: `someVar = var (id "some_var") T'float :: Exp T'float`
- new: `someVar = var'float $ id "some_var"`
## [0.1.0] - 2025-12-21
- initialized project
- added CHANGELOG.md
- added `CHANGELOG.md`