#compiler #yarn #spinner

yarnspinner_compiler

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

3 unstable releases

0.2.1 Feb 18, 2024
0.2.0 Feb 18, 2024
0.1.0 Jan 30, 2024

#1529 in Game dev

Download history 35/week @ 2024-02-01 32/week @ 2024-02-08 232/week @ 2024-02-15 175/week @ 2024-02-22 258/week @ 2024-02-29 162/week @ 2024-03-07 110/week @ 2024-03-14 284/week @ 2024-03-21 216/week @ 2024-03-28 153/week @ 2024-04-04 142/week @ 2024-04-11 206/week @ 2024-04-18 350/week @ 2024-04-25 298/week @ 2024-05-02 52/week @ 2024-05-09 59/week @ 2024-05-16

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

MIT/Apache

735KB
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–49MB
~766K SLoC