Skip to content

No checking for unbalanced '(' #8

@akkartik

Description

@akkartik

This program waits on a ( until it encounters a ). That in itself is fine, but it interacts poorly with the way it sequences through multiple files on the commandline. If you give it a filename that contains just a (, then it gets silently to the prompt and waits for you to type the rest of an s-expression except the initial (. Feels quite profane, as a Lisper. Files should be syntactically self-contained, and unbalanced parens within a file should cause an immediate error.

(Tinylisp has this problem as well, but it feels like more of an issue here since this program is in most ways quite usable.)

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