Skip to content

cooklang/cooklang-rs

Repository files navigation

cooklang-rs

crates.io docs.rs license

Cooklang parser in rust with opt-in extensions.

All regular cooklang files parse as the same recipe, the extensions are a superset of the original cooklang format. Also, the extensions can be turned off, so the parser can be used for regular cooklang if you don't like them.

You can see a detailed list of all extensions explained here.

The parser also includes:

  • Rich error report with annotated code spans. (like this one)
  • Unit conversion.
  • Recipe scaling.
  • A parser for cooklang aisle configuration file.