Skip to content

[webapp] very long expressions may break formatting of truth table #48

@ryukinix

Description

@ryukinix

Example: https://logic.manoel.dev/?prop=%28%28~c%20-%3E%20b%29%20-%3E%20%28%28b%20-%3E%20a%29%20-%3E%20%28%28c%20-%3E%20a%29%20-%3E%20a%29%29%29%20-%3E%20%28%28d%20-%3E%20%28~c%20-%3E%20b%29%29%20-%3E%20%28%28b%20-%3E%20a%29%20-%3E%20%28%28c%20-%3E%20a%29%20-%3E%20%28d%20-%3E%20a%29%29%29%29

Image

Expression:

((~c -> b) -> ((b -> a) -> ((c -> a) -> a))) -> ((d -> (~c -> b)) -> ((b -> a) -> ((c -> a) -> (d -> a))))

The same happens in the terminal version too, so indeed is a problem related with print-truth-table formatting.

Image

That's not caused because #46

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwebRelated to webapp module

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions