Skip to content
This repository was archived by the owner on May 23, 2019. It is now read-only.

Double sign gets errors in algebra.parse() #88

@sjorsvanheuveln

Description

@sjorsvanheuveln

This:
algebrea.parse('12 -- 3');

Results in an error:
SyntaxError: Missing operand

After trying some other stuff, it appears it just can't handle negative signs after the operator. E.g. this also fails:
algebra.parse('-1 * -5');

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