Skip to content

Conversation

@fendor
Copy link
Collaborator

@fendor fendor commented Aug 25, 2025

Similar to HLS, cache our own compiler artefacts in $XDG_CACHE_HOME/hdb/ per component.

Also adds support for -fwrite-if-simplified-core and bytecode artefacts .gbc.

Adds a timestamp to all log messages.

Closes #24

@fendor
Copy link
Collaborator Author

fendor commented Aug 25, 2025

Welp, apparently CI is unhappy.

@fendor fendor requested a review from alt-romes August 26, 2025 09:36
fendor added 2 commits August 26, 2025 11:55
Cache directories are keyed by the hash of all ghc-options.

Patch sneakily introduces generation of `.gbc` files 😈.
@fendor
Copy link
Collaborator Author

fendor commented Aug 26, 2025

Fixed CI :)

I added a flake.nix, the old approach didn't work for me locally any more, now the tests run locally and in CI 🎊

Give us better confidence in our javascript code by writing it in
typescript!

Changes the tests to use typescript, and fixes compiler errors that went
just unnoticed until now.
We do not introduce eslint (yet), which might give us even better
warnings.

At last, changes the tests to always invoke `hdb` with a custom cache
directory to ensure a perfectly hermetic test experience.

Also, add a flake for development.
@fendor fendor merged commit 284052f into master Aug 26, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write interface files and bytecode artifacts

2 participants