Commit graph

8 commits

Author SHA1 Message Date
YetAnotherMinion
80f7585153
feat: upgrade v8 runtime crates 2025-11-23 19:34:17 -08:00
YetAnotherMinion
f882cf2c95
feat: starmelon compile Astrid.Pages.Route to html
Automatically convert SQL rows to JSON if the user does not manually
call json_object in the query themselves.
2025-11-23 19:34:17 -08:00
YetAnotherMinion
cc4c1cf9d5
feat: speed up javascript munging
Perform a single pass so the work of doing `m` replacements in a string
of length `n` is O(m + n) instead of O(m * n)

For the yogalogy template this change improves the script munging step
from ~2.5ms to 0.5ms [release] (from ~17ms to 3ms [debug]).
2025-11-23 19:34:17 -08:00
YetAnotherMinion
028cc115a0
feat: PoC for generating webpage with database 2025-11-23 19:34:17 -08:00
YetAnotherMinion
d7981129eb
refactor: move some setup to elm-project-utils crate 2025-11-23 19:34:17 -08:00
YetAnotherMinion
6790eec12c
refactor: create fixtures module
Prepare for adding a second radically different fixture by creating a
module to hold the different fixtures. When I only had one fixture it
was ok to have the module be a single file.
2025-11-23 19:34:17 -08:00
YetAnotherMinion
401aec67d0
fix: Astrid.Query.andThen compose with map*
Reserve stack slots for andThen values and fill them in later. The old
approach of a strict stack machine was wrong.
2025-11-23 19:34:17 -08:00
YetAnotherMinion
b6182376b6
feat: add map2, map3, andThen to Astrid.Query 2025-11-23 19:34:16 -08:00