What do people use for complex dialogue trees?

I’m a newbie so I was wondering on what approach have people taken for this. An example use case would be for a dialogue heavy RPG. Googling around and it seems like there is a tool called yarn spinner that helps with this. Is something like this feasible for the play date? Found this Lua project GitHub - pauljessup/yarnparser: A super simple Love2d/Lua code that takes in Yarn Spinner dialogue trees exported to JSON that someone else did, does this look like it would work?

Yeah I'd say it could work. Just remember that playdate uses import instead of require.

[deleted, moved to correct topic]