Skip to content

v.0.4.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@abiwab abiwab released this 04 Jan 18:26
· 1117 commits to main since this release

Asynchronous tasks

What's New

⏱️ Asynchronous Tasks Support

You can now mark timers as asynchronous (background tasks) using the & modifier (e.g., ~{1h}&).

  • Compiler: Calculates precise totalTime vs activeTime metrics.
  • Playground: Visualize async tasks with specific styling (dashed borders, ⏳ icon) in both Markdown and Preview modes.

Synchronous timers represent active work that blocks the cook, while asynchronous timers (&) designate background tasks occurring in parallel. This distinction allows the compiler to accurately calculate real effort versus total duration and enables the generation of realistic Gantt charts.

Playground Improvements

  • New AST View: Added a raw AST view mode to inspect the parser output.
  • UI: Improved view selection with a new dropdown menu.

Bug Fixes

  • Fixed an issue where multiple composite ingredients would not aggregate correctly in the shopping list.

Documentation

  • Added "Tips" across the documentation to better explain the philosophy behind timers, cookware, and relative quantities.