#compiler #yarn #spinner

yarnspinner_compiler

Compiler for Yarn Spinner for Rust, the friendly tool for writing game dialogue

5 unstable releases

new 0.3.0 Jul 4, 2024
0.3.0-rc Jun 11, 2024
0.2.1 Feb 18, 2024
0.2.0 Feb 18, 2024
0.1.0 Jan 30, 2024

#1295 in Game dev

Download history 106/week @ 2024-03-13 271/week @ 2024-03-20 209/week @ 2024-03-27 202/week @ 2024-04-03 130/week @ 2024-04-10 186/week @ 2024-04-17 345/week @ 2024-04-24 327/week @ 2024-05-01 58/week @ 2024-05-08 79/week @ 2024-05-15 188/week @ 2024-05-22 156/week @ 2024-05-29 170/week @ 2024-06-05 113/week @ 2024-06-12 61/week @ 2024-06-19 92/week @ 2024-06-26

473 downloads per month
Used in 6 crates (via yarnspinner)

MIT/Apache

745KB
15K SLoC

The compiler components of Yarn Spinner. These mostly follow the same structure as the original Yarn Spinner compiler.

You probably don't want to use this crate directly, except if you're coming from another language than Rust and want to call Yarn Spinner via FFI. Otherwise:

  • If you're a game developer, you'll want to use a crate that is already designed for your game engine of choice, such as bevy_yarnspinner for the Bevy engine.
  • If you wish to write an adapter crate for an engine yourself, use the yarnspinner crate.

Everything you need to get started with the Yarn Spinner compiler.

Dependencies

~5–47MB
~735K SLoC