Skip to content

Detect "compilation" errors more completely #2

@stangles

Description

@stangles

If the interpreter is given an invalid bf program, such as:

]

It will panic and fail with no information. We detect if a loop is prematurely terminated when the data cell upon exiting a loop is nonzero (because we have to backtrack and find the start of the loop anyway), so this functionality technically already exists and just needs to be extended to cover all cases.

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