Skip to content

Rule repetition prevents some non-determinism  #1

@GrayJoKing

Description

@GrayJoKing

Take the program

_->10a+c
a+c->c
c->Out_a

This should randomly remove some a atoms before printing the number of a atoms and terminating. However, with your optimisations, it repeats the a+c->c rule either 0 or as many times as it can before any other rule, meaning it only outputs 10 or 0.

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