Skip to content

Transform functions to argumentless functions with custom operators (overriding existing functions) #162

@tirrorex

Description

@tirrorex

Taking for example the sin function which takes an argument.
I want to be able to evalue 24sin as sin(24), basically taking lhs as the argument for my function.

Creating the operator with custom token and the relation to multiply is easy but there is no documentation on how to add functionnalities to existing functions.

It seems that maybe a rewrite rule should be used ?

Any thoughts on this ?

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