Skip to content

Getting sub expressions during evaluation #45

@VolceOntra

Description

@VolceOntra

Problem:
I want to add a postfix % operator that takes in the last valid expression and transform it, however (and I'm still learning this library) it seems without a lot of parsing it's kind of challenging -- is there a way to transform something like this

10 + 2% to equal 10 + (10*2/100)

or

20 * 2 + 10% would give access to the last evaluated expression of (20 * 2) and the main argument 10 when getting the post fix callback for %

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