Skip to content

De/serialisation #15

@Aurel300

Description

@Aurel300

It should be possible to automatically generate the Haxe de/serialisation methods for a coroutine. It should be enough to store:

  • the state (CFG position + flags)
  • any state-crossing locals (which are already detected anyway)

As an optimisation, only the state-crossing locals which are actually read by reachable states could be stored.

Serialisation of a coroutine that depends on a closure-captured variable should probably be forbidden as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions