Narrative switching support #44
Labels
enhancement
New feature or request
fate
Issues relating to the Fate language
interpreter
wyrd
Issues relating to the Wyrd language
Milestone
(narrative:push filename tag_list)
which creates a new memory stack and loads the indicated narrative.(narrative:pop)
which pops the current narrative (frees memory too).(narrative:pop_until_any tag_list)
which pops narrative until there is a narrative with at least one tag in thetag_list
.(narrative:pop_until_all tag_list)
which pops narrative until there is a narrative with all the tags in thetag_list
.(narrative:pop_while_any tag_list)
(narrative:pop_while_all tag_list)
(narrative:switch filename tag_list)
which pops the current narrative and pushes the new one.(narrative:add_tag tag)
(narrative:remove_tag tag)
(narrative:tag_list)
shared
variable category of issue Sharing memory over multiple narratives #20. They are stored separately as they do not get freed when narrative switch.Example of things that could use separate narratives:
The text was updated successfully, but these errors were encountered: