Skip to content

Add Support for Functions Within Functions #12

@RubyTheRoobster

Description

@RubyTheRoobster

Several months ago, I scrapped the idea of functions within functions, because a function like:

x1*f(x2), where

f(x2) = g(x2) and g(x2) = x2.

would be too complicated to validate and execute at runtime. The solution? Evaluate functions within functions as expressions right before validation. This would write:

f(x2) = g(x2) = x2, and

x1f(x2) = x1x2,

all before the function is even validated! I'm surprised I didn't think of this before.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststalledThis issue or pull request is temporarily put on hold.

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions